WP Super Cache - Version 1.5.7

Version Description

  • Fix fatal error in plugins/searchengine.php (#398)
Download this release

Release Info

Developer donncha
Plugin Icon 128x128 WP Super Cache
Version 1.5.7
Comparing to
See all releases

Code changes from version 1.5.6 to 1.5.7

Files changed (3) hide show
  1. plugins/searchengine.php +1 -1
  2. readme.txt +5 -2
  3. wp-cache.php +1 -1
plugins/searchengine.php CHANGED
@@ -59,7 +59,7 @@ function wpsc_get_searchengine_setting() {
59
  $cache_no_adverts_for_friends = 0;
60
  $changed = true;
61
  }
62
- if ( $changed ) {
63
  wp_cache_setting( 'cache_no_adverts_for_friends', $cache_no_adverts_for_friends );
64
  }
65
 
59
  $cache_no_adverts_for_friends = 0;
60
  $changed = true;
61
  }
62
+ if ( $changed && function_exists( 'wp_cache_setting' ) ) {
63
  wp_cache_setting( 'cache_no_adverts_for_friends', $cache_no_adverts_for_friends );
64
  }
65
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: donncha, automattic, kraftbj
3
  Tags: performance,caching,wp-cache,wp-super-cache,cache
4
  Tested up to: 4.8.1
5
- Stable tag: 1.5.6
6
  Requires at least: 3.0
7
 
8
  A very fast caching engine for WordPress that produces static html files.
@@ -53,9 +53,12 @@ Interested in translating WP Super Cache to your language? See the [translation
53
  The cache directory, usually wp-content/cache/ is only for temporary files. Do not ever put important files or symlinks to important files or directories in that directory. They will be deleted if the plugin has write access to them.
54
 
55
  == Upgrade Notice ==
56
- Maintenance release and added /plugins REST API endpoint.
57
 
58
  == Changelog ==
 
 
 
59
  = 1.5.6 =
60
  * REST API: Added /plugins endpoint to handle the plugins settings page. (#382)
61
  * Minor changes to indentaion and spaces to tabs conversion (#371) (#395)
2
  Contributors: donncha, automattic, kraftbj
3
  Tags: performance,caching,wp-cache,wp-super-cache,cache
4
  Tested up to: 4.8.1
5
+ Stable tag: 1.5.7
6
  Requires at least: 3.0
7
 
8
  A very fast caching engine for WordPress that produces static html files.
53
  The cache directory, usually wp-content/cache/ is only for temporary files. Do not ever put important files or symlinks to important files or directories in that directory. They will be deleted if the plugin has write access to them.
54
 
55
  == Upgrade Notice ==
56
+ Fixes fatal error for users who toggled the "no adverts for friends" plugin.
57
 
58
  == Changelog ==
59
+ = 1.5.7 =
60
+ * Fix fatal error in plugins/searchengine.php (#398)
61
+
62
  = 1.5.6 =
63
  * REST API: Added /plugins endpoint to handle the plugins settings page. (#382)
64
  * Minor changes to indentaion and spaces to tabs conversion (#371) (#395)
wp-cache.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Super Cache
4
  Plugin URI: https://wordpress.org/plugins/wp-super-cache/
5
  Description: Very fast caching plugin for WordPress.
6
- Version: 1.5.6
7
  Author: Automattic
8
  Author URI: https://automattic.com/
9
  License: GPL2+
3
  Plugin Name: WP Super Cache
4
  Plugin URI: https://wordpress.org/plugins/wp-super-cache/
5
  Description: Very fast caching plugin for WordPress.
6
+ Version: 1.5.7
7
  Author: Automattic
8
  Author URI: https://automattic.com/
9
  License: GPL2+