diff --git a/CHANGELOG.md b/CHANGELOG.md index 88f15e6..a335471 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to **Traffic** are documented in this *changelog*. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **Traffic** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [3.1.1] - 2024-11-23 + +### Fixed +- There's an 'undefined constant' error while trying to update. ## [3.1.0] - 2024-11-22 diff --git a/includes/plugin/class-updater.php b/includes/plugin/class-updater.php index 669692c..844c7b9 100644 --- a/includes/plugin/class-updater.php +++ b/includes/plugin/class-updater.php @@ -30,13 +30,13 @@ */ class Updater { - private $name = POKM_PRODUCT_NAME; + private $name = TRAFFIC_PRODUCT_NAME; - private $slug = POKM_SLUG; + private $slug = TRAFFIC_SLUG; - private $version = POKM_VERSION; + private $version = TRAFFIC_VERSION; - private $product = POKM_PRODUCT_URL; + private $product = TRAFFIC_PRODUCT_URL; /** * Initializes the class, set its properties and performs diff --git a/init.php b/init.php index 3547dff..05a597a 100644 --- a/init.php +++ b/init.php @@ -12,7 +12,7 @@ define( 'TRAFFIC_PRODUCT_SHORTNAME', 'Traffic' ); define( 'TRAFFIC_PRODUCT_ABBREVIATION', 'traffic' ); define( 'TRAFFIC_SLUG', 'traffic' ); -define( 'TRAFFIC_VERSION', '3.1.0' ); +define( 'TRAFFIC_VERSION', '3.1.1' ); define( 'TRAFFIC_API_VERSION', '2' ); define( 'TRAFFIC_CODENAME', '"-"' ); @@ -28,4 +28,4 @@ } else { define( 'TRAFFIC_INBOUND_CHRONO', microtime( true ) ); } -} +} \ No newline at end of file diff --git a/readme.txt b/readme.txt index 275bdc5..6bb9446 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: api, analytics, reports, rest-api, statistics Requires at least: 6.2 Requires PHP: 8.1 Tested up to: 6.7 -Stable tag: 3.1.0 +Stable tag: 3.1.1 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/traffic.php b/traffic.php index 7d1d6b4..6fe63d7 100644 --- a/traffic.php +++ b/traffic.php @@ -10,7 +10,7 @@ * Plugin Name: Traffic * Plugin URI: https://perfops.one/traffic * Description: Full featured monitoring & analytics for WordPress APIs. - * Version: 3.1.0 + * Version: 3.1.1 * Requires at least: 6.2 * Requires PHP: 8.1 * Author: Pierre Lannoy / PerfOps One