From 29090740d8e74f975992c9301261ce753b9d57b5 Mon Sep 17 00:00:00 2001 From: Donncha O Caoimh <5656673+donnchawp@users.noreply.github.com> Date: Wed, 27 May 2026 18:28:08 +0100 Subject: [PATCH 1/3] Add 3.1.1 changelog and bump stable tag --- readme.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index bdb3a77c..d818e48b 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: performance, caching, wp-cache, wp-super-cache, cache Requires at least: 6.8 Requires PHP: 7.4 Tested up to: 6.9 -Stable tag: 3.1.0 +Stable tag: 3.1.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -255,6 +255,13 @@ Your theme is probably responsive which means it resizes the page to suit whatev == Changelog == +### 3.1.1 - 2026-05-27 +- Security: harden supercache filename generation so request-derived data cannot escape the cache directory. +- Fix: avoid a fatal error on PHP 8+ when closing an unopened file handle in supercache-only mode. +- Fix: cast the blog ID in wp_cache_clear_cache() so non-integer callers no longer trigger a multisite-only function on single-site installs. +- Fix: no longer append HTML debug comments to REST API, Ajax, JSON, WooCommerce API, and XML-RPC responses. +- Fix: avoid a PHP warning when a comment has already been deleted before the cache-clear routine runs. + ### 3.1.0 - 2026-04-14 - Disable caching for wp_die() error pages - Harden the plugin in various ways. From 7c2b2816642a1f9f89fe69ed0e7a85364607e942 Mon Sep 17 00:00:00 2001 From: Donncha O Caoimh <5656673+donnchawp@users.noreply.github.com> Date: Wed, 27 May 2026 18:28:45 +0100 Subject: [PATCH 2/3] Bump Tested up to 7.0 --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index d818e48b..f8c02b0c 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: donncha, automattic, adnan007, dilirity, mikemayhem3030, pyronaur, Tags: performance, caching, wp-cache, wp-super-cache, cache Requires at least: 6.8 Requires PHP: 7.4 -Tested up to: 6.9 +Tested up to: 7.0 Stable tag: 3.1.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html From cd64b3accc0cb54fa53c5e5cbf709e287ed2fb44 Mon Sep 17 00:00:00 2001 From: Donncha O Caoimh <5656673+donnchawp@users.noreply.github.com> Date: Wed, 27 May 2026 18:29:31 +0100 Subject: [PATCH 3/3] Bump plugin version to 3.1.1 --- wp-cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-cache.php b/wp-cache.php index 21c102ec..f1b6621c 100644 --- a/wp-cache.php +++ b/wp-cache.php @@ -3,7 +3,7 @@ * Plugin Name: WP Super Cache * Plugin URI: https://wordpress.org/plugins/wp-super-cache/ * Description: Very fast caching plugin for WordPress. - * Version: 3.1.0 + * Version: 3.1.1 * Author: Automattic * Author URI: https://automattic.com/ * License: GPL2+