diff --git a/CHANGELOG.md b/CHANGELOG.md index 54e7496..175eb65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to **APCu Manager** are documented in this *changelog*. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **APCu Manager** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.8.2] - 2024-05-04 + +### Fixed +- PHP error when DecaLog is not installed. + ## [3.8.1] - 2024-05-04 ### Changed diff --git a/apcu-manager.php b/apcu-manager.php index 3e62651..954f8ce 100644 --- a/apcu-manager.php +++ b/apcu-manager.php @@ -10,7 +10,7 @@ * Plugin Name: APCu Manager * Plugin URI: https://perfops.one/apcu-manager * Description: APCu statistics and management right in the WordPress admin dashboard. - * Version: 3.8.1 + * Version: 3.8.2 * Requires at least: 6.2 * Requires PHP: 8.1 * Author: Pierre Lannoy / PerfOps One diff --git a/includes/libraries/decalog-sdk/EventsLogger.php b/includes/libraries/decalog-sdk/EventsLogger.php index fc9f159..f89c5c2 100644 --- a/includes/libraries/decalog-sdk/EventsLogger.php +++ b/includes/libraries/decalog-sdk/EventsLogger.php @@ -9,7 +9,7 @@ namespace DecaLog; -if ( ! defined( 'DECALOG_VERSION' ) && version_compare(DECALOG_VERSION, '4.0.0', '<') ) { +if ( defined( 'DECALOG_VERSION' ) && version_compare(DECALOG_VERSION, '4.0.0', '<') ) { /** * DecaLog PSR-3 logger class. Failsafe for old PSR-3 versions. diff --git a/init.php b/init.php index 340e3b3..cb0621f 100644 --- a/init.php +++ b/init.php @@ -12,7 +12,7 @@ define( 'APCM_PRODUCT_SHORTNAME', 'APCu' ); define( 'APCM_PRODUCT_ABBREVIATION', 'apcm' ); define( 'APCM_SLUG', 'apcu-manager' ); -define( 'APCM_VERSION', '3.8.1' ); +define( 'APCM_VERSION', '3.8.2' ); define( 'APCM_CODENAME', '"-"' ); define( 'APCM_CDN_AVAILABLE', true ); diff --git a/readme.txt b/readme.txt index 63defc1..7665298 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: APCu, cache, monitor, object cache, w3tc Requires at least: 6.2 Requires PHP: 8.1 Tested up to: 6.5 -Stable tag: 3.8.1 +Stable tag: 3.8.2 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html