Cache Enabler – WordPress Cache - Version 1.8.4

Version Description

  • Update advanced-cache.php drop-in file handling (#292)
Download this release

Release Info

Developer keycdn
Plugin Icon 128x128 Cache Enabler – WordPress Cache
Version 1.8.4
Comparing to
See all releases

Code changes from version 1.8.3 to 1.8.4

cache-enabler.php CHANGED
@@ -6,7 +6,7 @@ Description: Simple and fast WordPress caching plugin.
6
  Author: KeyCDN
7
  Author URI: https://www.keycdn.com
8
  License: GPLv2 or later
9
- Version: 1.8.3
10
  */
11
 
12
  /*
6
  Author: KeyCDN
7
  Author URI: https://www.keycdn.com
8
  License: GPLv2 or later
9
+ Version: 1.8.4
10
  */
11
 
12
  /*
constants.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
 
8
  $cache_enabler_constants = array(
9
- 'CACHE_ENABLER_VERSION' => '1.8.3',
10
  'CACHE_ENABLER_MIN_PHP' => '5.6',
11
  'CACHE_ENABLER_MIN_WP' => '5.5',
12
  'CACHE_ENABLER_DIR' => __DIR__,
6
  */
7
 
8
  $cache_enabler_constants = array(
9
+ 'CACHE_ENABLER_VERSION' => '1.8.4',
10
  'CACHE_ENABLER_MIN_PHP' => '5.6',
11
  'CACHE_ENABLER_MIN_WP' => '5.5',
12
  'CACHE_ENABLER_DIR' => __DIR__,
inc/cache_enabler_disk.class.php CHANGED
@@ -273,7 +273,8 @@ final class Cache_Enabler_Disk {
273
  /**
274
  * Create the advanced-cache.php drop-in file.
275
  *
276
- * @since 1.8.0
 
277
  *
278
  * @return string|bool Path to the created file, false on failure.
279
  */
@@ -289,7 +290,7 @@ final class Cache_Enabler_Disk {
289
  $advanced_cache_file_contents = file_get_contents( $advanced_cache_sample_file );
290
  $advanced_cache_file_contents = str_replace( '/your/path/to/wp-content/plugins/cache-enabler', CACHE_ENABLER_DIR, $advanced_cache_file_contents );
291
 
292
- if ( ! self::mkdir_p( dirname( $advanced_cache_file ) ) ) {
293
  return false;
294
  }
295
 
273
  /**
274
  * Create the advanced-cache.php drop-in file.
275
  *
276
+ * @since 1.8.0
277
+ * @change 1.8.4
278
  *
279
  * @return string|bool Path to the created file, false on failure.
280
  */
290
  $advanced_cache_file_contents = file_get_contents( $advanced_cache_sample_file );
291
  $advanced_cache_file_contents = str_replace( '/your/path/to/wp-content/plugins/cache-enabler', CACHE_ENABLER_DIR, $advanced_cache_file_contents );
292
 
293
+ if ( ! is_writable( dirname( $advanced_cache_file ) ) ) {
294
  return false;
295
  }
296
 
readme.txt CHANGED
@@ -55,6 +55,9 @@ Cache Enabler captures page contents and saves it as a static HTML file on the s
55
 
56
  == Changelog ==
57
 
 
 
 
58
  = 1.8.3 =
59
  * Update index file handling (#289)
60
 
55
 
56
  == Changelog ==
57
 
58
+ = 1.8.4 =
59
+ * Update `advanced-cache.php` drop-in file handling (#292)
60
+
61
  = 1.8.3 =
62
  * Update index file handling (#289)
63