Skip to content

Commit

Permalink
Fix updater (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxsimoxx authored Apr 15, 2024
1 parent 0eae6b3 commit aa35c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/class-update-client.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author: Simone Fioravanti
* Author URI: https://software.gieffeedizioni.it
* API Version: 2.0.0
* Last modified on Update Manager release: 2.5.2
* Last modified on Update Manager release: 2.5.3
* -----------------------------------------------------------------------------
* This is free software released under the terms of the General Public License,
* version 2, or later. It is distributed WITHOUT ANY WARRANTY; without even the
Expand Down Expand Up @@ -103,10 +103,10 @@ private function __construct() {
];

// Should directory take over?
include_once ABSPATH.'wp-admin/includes/plugin.php';
if (
USE_DIRECTORY &&
version_compare(function_exists('classicpress_version') ? classicpress_version() : '0', '2', '>=') &&
function_exists('is_plugin_active') &&
is_plugin_active('classicpress-directory-integration/classicpress-directory-integration.php')
) {
return;
Expand Down

0 comments on commit aa35c25

Please sign in to comment.