From 50db29cb5d5c2cbe9e56681f6810d21a4e5da114 Mon Sep 17 00:00:00 2001 From: thanghv Date: Sat, 28 Dec 2024 02:14:07 +0700 Subject: [PATCH] Fixed: error purge cache --- class/class-mainwp-child-cache-purge.php | 2 +- class/class-mainwp-child.php | 2 +- mainwp-child.php | 2 +- readme.txt | 8 +++++++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/class/class-mainwp-child-cache-purge.php b/class/class-mainwp-child-cache-purge.php index 3caa9ae5..5a9ae633 100644 --- a/class/class-mainwp-child-cache-purge.php +++ b/class/class-mainwp-child-cache-purge.php @@ -1070,7 +1070,7 @@ public function wprocket_auto_cache_purge() { $purge_result = array(); if ( 1 === (int) $do_purge ) { - $purge_result = MainWP_Child_WP_Rocket::instance()->purge_cache_all(); + $purge_result = MainWP_Child_WP_Rocket::instance()->preload_purge_cache_all(); } // Record results & return response. diff --git a/class/class-mainwp-child.php b/class/class-mainwp-child.php index 8497f2ab..399ffc96 100644 --- a/class/class-mainwp-child.php +++ b/class/class-mainwp-child.php @@ -30,7 +30,7 @@ class MainWP_Child { * * @var string MainWP Child plugin version. */ - public static $version = '5.3.2'; // NOSONAR - not IP. + public static $version = '5.3.3'; // NOSONAR - not IP. /** * Private variable containing the latest MainWP Child update version. diff --git a/mainwp-child.php b/mainwp-child.php index 5715292b..97c28b90 100644 --- a/mainwp-child.php +++ b/mainwp-child.php @@ -12,7 +12,7 @@ * Author: MainWP * Author URI: https://mainwp.com * Text Domain: mainwp-child - * Version: 5.3.2 + * Version: 5.3.3 * Requires at least: 5.4 * Requires PHP: 7.4 */ diff --git a/readme.txt b/readme.txt index 16b5941e..e5fc5555 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Plugin URI: https://mainwp.com Requires at least: 6.2 Tested up to: 6.7.1 Requires PHP: 7.4 -Stable tag: 5.3.2 +Stable tag: 5.3.3 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -111,6 +111,12 @@ We have an extensive FAQ with more questions and answers [here](https://mainwp.c == Changelog == += 5.3.3 - 12-27-2024 = + +* Fixed: Incorrect feedback message displayed when running updates. +* Fixed: Issue causing WP Cron scheduled events to fail. +* Added: Support for one-click plugin and theme exclusions for the WP Rocket JS delay option. + = 5.3.2 - 12-26-2024 = * Updated: Compatibility with the latest WP Rocket plugin settings.