From 1b815926183333b0d23571f1f0abc8bc963ae4c1 Mon Sep 17 00:00:00 2001 From: Pierre Lannoy Date: Sat, 4 May 2024 23:32:10 +0200 Subject: [PATCH] Ready to release 2.13.3 on wp.org --- CHANGELOG.md | 5 +++++ includes/libraries/decalog-sdk/EventsLogger.php | 2 +- init.php | 2 +- readme.txt | 2 +- sessions.php | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f0a0e3..504b9a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to **Sessions** are documented in this *changelog*. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **Sessions** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.13.3] - 2024-05-04 + +### Fixed +- PHP error when DecaLog is not installed. + ## [2.13.2] - 2024-05-04 ### Fixed diff --git a/includes/libraries/decalog-sdk/EventsLogger.php b/includes/libraries/decalog-sdk/EventsLogger.php index f89c5c2..8089d8f 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, '3.11.0', '<') ) { /** * DecaLog PSR-3 logger class. Failsafe for old PSR-3 versions. diff --git a/init.php b/init.php index 9dd74d6..170b55e 100644 --- a/init.php +++ b/init.php @@ -12,6 +12,6 @@ define( 'POSE_PRODUCT_SHORTNAME', 'Sessions' ); define( 'POSE_PRODUCT_ABBREVIATION', 'posessions' ); define( 'POSE_SLUG', 'sessions' ); -define( 'POSE_VERSION', '2.13.2' ); +define( 'POSE_VERSION', '2.13.3' ); define( 'POSE_CODENAME', '"-"' ); define( 'POSE_CDN_AVAILABLE', true ); \ No newline at end of file diff --git a/readme.txt b/readme.txt index 2ca4162..f86dbbe 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: authentication, login, protection, role, session Requires at least: 6.2 Requires PHP: 8.1 Tested up to: 6.5 -Stable tag: 2.13.2 +Stable tag: 2.13.3 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/sessions.php b/sessions.php index 1d8de01..e67e776 100644 --- a/sessions.php +++ b/sessions.php @@ -10,7 +10,7 @@ * Plugin Name: Sessions * Plugin URI: https://perfops.one/sessions * Description: Powerful sessions manager for WordPress with sessions limiter and full analytics reporting capabilities. - * Version: 2.13.2 + * Version: 2.13.3 * Requires at least: 6.2 * Requires PHP: 8.1 * Author: Pierre Lannoy / PerfOps One