LiteSpeed Cache - Version 5.0.1

Version Description

  • Jul 27 2022 =
  • Cloud Fixed a potential PHP error that could occur with the cloud service summary. (Bruno Cantuaria)
  • 3rd Added Autoptimize back to compatibility list.
Download this release

Release Info

Developer LiteSpeedTech
Plugin Icon 128x128 LiteSpeed Cache
Version 5.0.1
Comparing to
See all releases

Code changes from version 5.0.0.1 to 5.0.1

litespeed-cache.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: LiteSpeed Cache
4
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
5
  * Description: High-performance page caching and site optimization from LiteSpeed
6
- * Version: 5.0.0.1
7
  * Author: LiteSpeed Technologies
8
  * Author URI: https://www.litespeedtech.com
9
  * License: GPLv3
@@ -33,7 +33,7 @@ if ( defined( 'LSCWP_V' ) ) {
33
  return;
34
  }
35
 
36
- ! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '5.0.0.1' );
37
 
38
  ! defined( 'LSCWP_CONTENT_DIR' ) && define( 'LSCWP_CONTENT_DIR', WP_CONTENT_DIR ) ;
39
  ! defined( 'LSCWP_DIR' ) && define( 'LSCWP_DIR', __DIR__ . '/' ) ;// Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU
3
  * Plugin Name: LiteSpeed Cache
4
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
5
  * Description: High-performance page caching and site optimization from LiteSpeed
6
+ * Version: 5.0.1
7
  * Author: LiteSpeed Technologies
8
  * Author URI: https://www.litespeedtech.com
9
  * License: GPLv3
33
  return;
34
  }
35
 
36
+ ! defined( 'LSCWP_V' ) && define( 'LSCWP_V', '5.0.1' );
37
 
38
  ! defined( 'LSCWP_CONTENT_DIR' ) && define( 'LSCWP_CONTENT_DIR', WP_CONTENT_DIR ) ;
39
  ! defined( 'LSCWP_DIR' ) && define( 'LSCWP_DIR', __DIR__ . '/' ) ;// Full absolute path '/var/www/html/***/wp-content/plugins/litespeed-cache/' or MU
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: LiteSpeedTech
3
  Tags: caching, optimize, performance, pagespeed, core web vitals, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
  Tested up to: 6.0.1
6
- Stable tag: 5.0.0.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
@@ -250,6 +250,10 @@ The vast majority of plugins and themes are compatible with LiteSpeed Cache. The
250
 
251
  == Changelog ==
252
 
 
 
 
 
253
  = 5.0.0.1 - Jul 26 2022 =
254
  * 🔥🐞**Cloud** Fixed an issue with the cloud request timestamp update which causes a usage sync failure. (Great thanks to Kevin)
255
 
3
  Tags: caching, optimize, performance, pagespeed, core web vitals, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
  Tested up to: 6.0.1
6
+ Stable tag: 5.0.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
250
 
251
  == Changelog ==
252
 
253
+ = 5.0.1 - Jul 27 2022 =
254
+ * 🐞**Cloud** Fixed a potential PHP error that could occur with the cloud service summary. (Bruno Cantuaria)
255
+ * **3rd** Added Autoptimize back to compatibility list.
256
+
257
  = 5.0.0.1 - Jul 26 2022 =
258
  * 🔥🐞**Cloud** Fixed an issue with the cloud request timestamp update which causes a usage sync failure. (Great thanks to Kevin)
259
 
src/root.cls.php CHANGED
@@ -577,7 +577,7 @@ abstract class Root {
577
  }
578
 
579
  $existing_summary = static::cls()->_summary;
580
- if ( $overwrite ) {
581
  $existing_summary = array();
582
  }
583
  $new_summary = array_merge( $existing_summary, $data ?: array() );
@@ -605,4 +605,4 @@ abstract class Root {
605
  return static::cls();
606
  }
607
 
608
- }
577
  }
578
 
579
  $existing_summary = static::cls()->_summary;
580
+ if ( $overwrite || !is_array($existing_summary)) {
581
  $existing_summary = array();
582
  }
583
  $new_summary = array_merge( $existing_summary, $data ?: array() );
605
  return static::cls();
606
  }
607
 
608
+ }
thirdparty/litespeed-check.cls.php CHANGED
@@ -12,7 +12,7 @@ class LiteSpeed_Check {
12
 
13
  public static $_incompatible_plugins =
14
  array(
15
- 'autoptimize/autoptimize.php',
16
  'breeze/breeze.php',
17
  'cache-enabler/cache-enabler.php',
18
  'cachify/cachify.php',
12
 
13
  public static $_incompatible_plugins =
14
  array(
15
+ // 'autoptimize/autoptimize.php',
16
  'breeze/breeze.php',
17
  'cache-enabler/cache-enabler.php',
18
  'cachify/cachify.php',