SG Optimizer - Version 7.2.8

Version Description

Download this release

Release Info

Developer elenachavdarova
Plugin Icon 128x128 SG Optimizer
Version 7.2.8
Comparing to
See all releases

Code changes from version 7.2.7 to 7.2.8

core/Combinator/Js_Combinator.php CHANGED
@@ -501,8 +501,7 @@ class Js_Combinator extends Abstract_Combinator {
501
  'wp-polyfill',
502
  'wp-url',
503
  'wp-hooks',
504
- 'sv_wc_payment_form_valid_payment_data',
505
- 'sv_wc_payment_form_handler_init',
506
  );
507
 
508
  /**
501
  'wp-polyfill',
502
  'wp-url',
503
  'wp-hooks',
504
+ 'wc-square',
 
505
  );
506
 
507
  /**
core/Front_End_Optimization/Front_End_Optimization.php CHANGED
@@ -55,6 +55,7 @@ class Front_End_Optimization {
55
  'wp-hooks',
56
  'houzez-google-map-api',
57
  'wpascript',
 
58
  );
59
 
60
  /**
55
  'wp-hooks',
56
  'houzez-google-map-api',
57
  'wpascript',
58
+ 'wc-square',
59
  );
60
 
61
  /**
core/Helper/File_Cacher_Trait.php CHANGED
@@ -222,13 +222,13 @@ trait File_Cacher_Trait {
222
  )
223
  );
224
 
225
- foreach ( apache_response_headers() as $header => $value ) {
226
  $lowercase_header = strtolower( $header );
227
 
228
  // Do not cache if any of the ignore headers exists and matche the ignore header value.
229
  if (
230
  array_key_exists( $lowercase_header, $ignore_headers ) &&
231
- stripos( trim( $value ), $ignore_headers[ $lowercase_header ] )
232
  ) {
233
  return true;
234
  }
222
  )
223
  );
224
 
225
+ foreach ( \apache_response_headers() as $header => $value ) {
226
  $lowercase_header = strtolower( $header );
227
 
228
  // Do not cache if any of the ignore headers exists and matche the ignore header value.
229
  if (
230
  array_key_exists( $lowercase_header, $ignore_headers ) &&
231
+ is_int( stripos( trim( $value ), $ignore_headers[ $lowercase_header ] ) )
232
  ) {
233
  return true;
234
  }
readme.txt CHANGED
@@ -464,6 +464,12 @@ Our plugin uses a cookie in order to function properly. It does not store person
464
 
465
  == Changelog ==
466
 
 
 
 
 
 
 
467
  = Version 7.2.7 =
468
  Release Date: Nov 30rd, 2022
469
 
464
 
465
  == Changelog ==
466
 
467
+ = Version 7.2.8 =
468
+ Release Date: Dec 1st, 2022
469
+
470
+ * Improved namespace performance on other hosts.
471
+ * Improved WooCommerce Square plugin support.
472
+
473
  = Version 7.2.7 =
474
  Release Date: Nov 30rd, 2022
475
 
sg-cachepress.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: SiteGround Optimizer
11
  * Plugin URI: https://siteground.com
12
  * Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround
13
- * Version: 7.2.7
14
  * Author: SiteGround
15
  * Author URI: https://www.siteground.com
16
  * Text Domain: sg-cachepress
@@ -32,7 +32,7 @@ if ( ! defined( 'WPINC' ) ) {
32
 
33
  // Define version constant.
34
  if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
35
- define( __NAMESPACE__ . '\VERSION', '7.2.7' );
36
  }
37
 
38
  // Define slug constant.
10
  * Plugin Name: SiteGround Optimizer
11
  * Plugin URI: https://siteground.com
12
  * Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround
13
+ * Version: 7.2.8
14
  * Author: SiteGround
15
  * Author URI: https://www.siteground.com
16
  * Text Domain: sg-cachepress
32
 
33
  // Define version constant.
34
  if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
35
+ define( __NAMESPACE__ . '\VERSION', '7.2.8' );
36
  }
37
 
38
  // Define slug constant.