Skip to content

Commit

Permalink
Backport super-cache 1.12.3 Changes (#38278)
Browse files Browse the repository at this point in the history
* Changelog and readme.txt edits.

* Update the stable tag to 1.12.3

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9873498071

Upstream-Ref: Automattic/jetpack@6e08792
  • Loading branch information
donnchawp authored and matticbot committed Jul 10, 2024
1 parent 1ffe2b9 commit 7356597
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 40 deletions.
14 changes: 4 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.12.3-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Changed
- Updated package dependencies.

## [1.12.3] - 2024-07-10
### Fixed
- WPSC: Don't delete the log viewer when doing garbage collection
- WPSC: fix clearing the cache when scheduled posts are published
- Don't delete the log viewer when doing garbage collection [#38276]
- Fix clearing the cache when scheduled posts are published [#38263]

## [1.12.2] - 2024-06-27
### Added
Expand Down Expand Up @@ -763,7 +757,7 @@ This is an alpha version! The changes listed here are not final.

Misc fixes

[1.12.3-alpha]: https://github.com/Automattic/wp-super-cache/compare/v1.12.2...v1.12.3-alpha
[1.12.3]: https://github.com/Automattic/wp-super-cache/compare/v1.12.2...v1.12.3
[1.12.2]: https://github.com/Automattic/wp-super-cache/compare/v1.12.1...v1.12.2
[1.12.1]: https://github.com/Automattic/wp-super-cache/compare/v1.12.0...v1.12.1
[1.12.0]: https://github.com/Automattic/wp-super-cache/compare/v1.11.0...v1.12.0
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"wp-svn-autopublish": true
},
"config": {
"autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_3_alpha"
"autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_3"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-super-cache",
"version": "1.12.3-alpha",
"version": "1.12.3",
"description": "A very fast caching engine for WordPress that produces static html files.",
"homepage": "https://jetpack.com",
"bugs": {
Expand Down
24 changes: 4 additions & 20 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: performance, caching, wp-cache, wp-super-cache, cache
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.6
Stable tag: 1.12.2
Stable tag: 1.12.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -268,26 +268,10 @@ Your theme is probably responsive which means it resizes the page to suit whatev


== Changelog ==
### 1.12.2 - 2024-06-27
#### Added
- add an admin notice to encourage migration to Jetpack Boost
- modify boost install code so it can be used by multiple buttons
- notify Boost of migration to that plugin

#### Changed
- General: indicate compatibility with the upcoming version of WordPress - 6.6.
- tell user that Cache module of Boost must be deactivated to use WPSC
- WP Updated banner designs, added auto-install Jetpack Boost buttons

### 1.12.3 - 2024-07-10
#### Fixed
- Detect when WP_CACHE is defined with "const" in wp-config.php
- Align detection of Boost installs with activation of that plugin
- create the cache directory before creating the config file
- do not show migration notice if already using Boost Cache
- fixed a PHP warning when deactivating the plugin.
- make sure plugins links is an array before using it.
- remove the preload interval based on the post count. Preload as often as you want.
- renamed WPSC_VERSION because it conflicted with other plugins
- Don't delete the log viewer when doing garbage collection
- Fix clearing the cache when scheduled posts are published

--------

Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3_alpha::getLoader();
return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3::getLoader();
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3_alpha
class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3
{
private static $loader;

Expand All @@ -24,12 +24,12 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_3_alpha', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_3', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_3_alpha', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_3', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3_alpha::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3::getInitializer($loader));

$loader->setClassMapAuthoritative(true);
$loader->register(true);
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3_alpha
class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3
{
public static $classMap = array (
'Automattic\\Jetpack\\Device_Detection' => __DIR__ . '/..' . '/automattic/jetpack-device-detection/src/class-device-detection.php',
Expand All @@ -15,7 +15,7 @@ class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_12_3_al
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3_alpha::$classMap;
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cache1_12_3::$classMap;

}, null, ClassLoader::class);
}
Expand Down
2 changes: 1 addition & 1 deletion wp-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: 1.12.3-alpha
* Version: 1.12.3
* Author: Automattic
* Author URI: https://automattic.com/
* License: GPL2+
Expand Down

0 comments on commit 7356597

Please sign in to comment.