LiteSpeed Cache - Version 2.9.7.1

Version Description

  • Apr 9 2019 =
  • Purge: Purge All no longer includes Purge CCSS/Placeholder.
  • 3rd: Divi Theme Builder no longer experiences nonce expiration issues in the contact form widget. (#475461)
Download this release

Release Info

Developer hailite
Plugin Icon 128x128 LiteSpeed Cache
Version 2.9.7.1
Comparing to
See all releases

Code changes from version 2.9.7 to 2.9.7.1

inc/litespeed-cache.class.php CHANGED
@@ -26,7 +26,7 @@ class LiteSpeed_Cache
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
  const PLUGIN_FILE = 'litespeed-cache/litespeed-cache.php' ;
29
- const PLUGIN_VERSION = '2.9.7' ;
30
 
31
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
32
 
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
  const PLUGIN_FILE = 'litespeed-cache/litespeed-cache.php' ;
29
+ const PLUGIN_VERSION = '2.9.7.1' ;
30
 
31
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
32
 
inc/purge.class.php CHANGED
@@ -145,8 +145,8 @@ class LiteSpeed_Cache_Purge
145
  {
146
  $this->_purge_all_lscache( true ) ;
147
  $this->_purge_all_cssjs( true ) ;
148
- $this->_purge_all_ccss( true ) ;
149
- $this->_purge_all_placeholder( true ) ;
150
  $this->_purge_all_object( true ) ;
151
  $this->_purge_all_opcache( true ) ;
152
 
145
  {
146
  $this->_purge_all_lscache( true ) ;
147
  $this->_purge_all_cssjs( true ) ;
148
+ // $this->_purge_all_ccss( true ) ;
149
+ // $this->_purge_all_placeholder( true ) ;
150
  $this->_purge_all_object( true ) ;
151
  $this->_purge_all_opcache( true ) ;
152
 
includes/litespeed-cache-purge.class.php CHANGED
@@ -145,8 +145,8 @@ class LiteSpeed_Cache_Purge
145
  {
146
  $this->_purge_all_lscache( true ) ;
147
  $this->_purge_all_cssjs( true ) ;
148
- $this->_purge_all_ccss( true ) ;
149
- $this->_purge_all_placeholder( true ) ;
150
  $this->_purge_all_object( true ) ;
151
  $this->_purge_all_opcache( true ) ;
152
 
145
  {
146
  $this->_purge_all_lscache( true ) ;
147
  $this->_purge_all_cssjs( true ) ;
148
+ // $this->_purge_all_ccss( true ) ;
149
+ // $this->_purge_all_placeholder( true ) ;
150
  $this->_purge_all_object( true ) ;
151
  $this->_purge_all_opcache( true ) ;
152
 
includes/litespeed-cache.class.php CHANGED
@@ -26,7 +26,7 @@ class LiteSpeed_Cache
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
  const PLUGIN_FILE = 'litespeed-cache/litespeed-cache.php' ;
29
- const PLUGIN_VERSION = '2.9.7' ;
30
 
31
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
32
 
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
  const PLUGIN_FILE = 'litespeed-cache/litespeed-cache.php' ;
29
+ const PLUGIN_VERSION = '2.9.7.1' ;
30
 
31
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
32
 
litespeed-cache.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: LiteSpeed Cache
16
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
17
  * Description: High-performance page caching and site optimization from LiteSpeed
18
- * Version: 2.9.7
19
  * Author: LiteSpeed Technologies
20
  * Author URI: https://www.litespeedtech.com
21
  * License: GPLv3
15
  * Plugin Name: LiteSpeed Cache
16
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
17
  * Description: High-performance page caching and site optimization from LiteSpeed
18
+ * Version: 2.9.7.1
19
  * Author: LiteSpeed Technologies
20
  * Author URI: https://www.litespeedtech.com
21
  * License: GPLv3
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: LiteSpeedTech
3
  Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
  Tested up to: 5.1.1
6
- Stable tag: 2.9.7
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
@@ -287,12 +287,16 @@ Click on the `Advanced View` link at the top of the page, and several more tabs
287
 
288
  == Changelog ==
289
 
 
 
 
 
290
  = 2.9.7 - Apr 1 2019 =
291
  * 🌱🌱🌱 QUIC.cloud CDN feature. Now Apache/Nginx can use LiteSpeed cache freely.
292
 
293
  = 2.9.6 - Mar 27 2019 =
294
  * 🌱<strong>IAPI</strong>: Appended XMP to `Preserve EXIF data` setting. WebP will now honor this setting. (#902219)
295
- * <strong>Object</script> Fixed SASL connection with LSMCD.
296
  * <strong>ESI</strong>: Converted ESI URI parameters to JSON; Added ESI validation.
297
  * <strong>Import</strong>: Import/Export will now use JSON format. <strong>Please re-export any backed up settings. Previous backup format is no longer recognized.</strong>
298
  * <strong>Media</strong>: WebP replacement will honor `Role Excludes` setting now. (@mfazio26)
3
  Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
  Tested up to: 5.1.1
6
+ Stable tag: 2.9.7.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
287
 
288
  == Changelog ==
289
 
290
+ = 2.9.7.1 - Apr 9 2019 =
291
+ * <strong>Purge</script>: Purge All no longer includes Purge CCSS/Placeholder.
292
+ * <strong>3rd</strong>: Divi Theme Builder no longer experiences nonce expiration issues in the contact form widget. (#475461)
293
+
294
  = 2.9.7 - Apr 1 2019 =
295
  * 🌱🌱🌱 QUIC.cloud CDN feature. Now Apache/Nginx can use LiteSpeed cache freely.
296
 
297
  = 2.9.6 - Mar 27 2019 =
298
  * 🌱<strong>IAPI</strong>: Appended XMP to `Preserve EXIF data` setting. WebP will now honor this setting. (#902219)
299
+ * <strong>Object</script>: Fixed SASL connection with LSMCD.
300
  * <strong>ESI</strong>: Converted ESI URI parameters to JSON; Added ESI validation.
301
  * <strong>Import</strong>: Import/Export will now use JSON format. <strong>Please re-export any backed up settings. Previous backup format is no longer recognized.</strong>
302
  * <strong>Media</strong>: WebP replacement will honor `Role Excludes` setting now. (@mfazio26)
thirdparty/lscwp-3rd-divi-theme-builder.cls.php CHANGED
@@ -19,8 +19,14 @@ class LiteSpeed_Cache_ThirdParty_Divi_Theme_Builder
19
  public static function detect()
20
  {
21
  if ( ! defined( 'ET_CORE' ) ) return ;
 
 
 
 
 
 
22
  if ( empty( $_GET['et_fb'] ) ) return ;
23
-
24
  add_action( 'et_fb_before_comments_template', 'LiteSpeed_Cache_ThirdParty_Divi_Theme_Builder::js_comment_box_on' ) ;
25
  add_action( 'et_fb_after_comments_template', 'LiteSpeed_Cache_ThirdParty_Divi_Theme_Builder::js_comment_box_off' ) ;
26
  add_filter( 'litespeed_cache_sub_esi_params-comment-form', 'LiteSpeed_Cache_ThirdParty_Divi_Theme_Builder::esi_comment_add_slash' ) ;
19
  public static function detect()
20
  {
21
  if ( ! defined( 'ET_CORE' ) ) return ;
22
+ /**
23
+ * Add contact form to nonce
24
+ * @since 2.9.7.1 #475461
25
+ */
26
+ LiteSpeed_Cache_API::nonce_action( 'et-pb-contact-form-submit' ) ;
27
+
28
  if ( empty( $_GET['et_fb'] ) ) return ;
29
+
30
  add_action( 'et_fb_before_comments_template', 'LiteSpeed_Cache_ThirdParty_Divi_Theme_Builder::js_comment_box_on' ) ;
31
  add_action( 'et_fb_after_comments_template', 'LiteSpeed_Cache_ThirdParty_Divi_Theme_Builder::js_comment_box_off' ) ;
32
  add_filter( 'litespeed_cache_sub_esi_params-comment-form', 'LiteSpeed_Cache_ThirdParty_Divi_Theme_Builder::esi_comment_add_slash' ) ;