SG Optimizer - Version 7.1.4

Version Description

Download this release

Release Info

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

Code changes from version 7.1.3 to 7.1.4

core/Rest/Rest_Helper_Images.php CHANGED
@@ -174,7 +174,7 @@ class Rest_Helper_Images extends Rest_Helper {
174
  // Check if body of the request is empty, if so - send default response.
175
  self::send_json_success(
176
  Message_Service::get_response_message( 1, 'resize_images' ),
177
- $this->images_optimizer->prepare_max_width_sizes(),
178
  );
179
  }
180
  }
174
  // Check if body of the request is empty, if so - send default response.
175
  self::send_json_success(
176
  Message_Service::get_response_message( 1, 'resize_images' ),
177
+ $this->images_optimizer->prepare_max_width_sizes()
178
  );
179
  }
180
  }
core/Rest/Rest_Helper_Options.php CHANGED
@@ -102,7 +102,7 @@ class Rest_Helper_Options extends Rest_Helper {
102
  self::get_response_message( false, str_replace( 'siteground_optimizer_default_', '', $key ), 1 ),
103
  array(
104
  $key => get_option( 'siteground_optimizer_' . $key, 0 ),
105
- ),
106
  );
107
  }
108
 
@@ -140,7 +140,7 @@ class Rest_Helper_Options extends Rest_Helper {
140
  self::get_response_message( false, str_replace( 'siteground_optimizer_default_', '', $key ), 0 ),
141
  array(
142
  $key => get_option( 'siteground_optimizer_' . $key, 1 ),
143
- ),
144
  );
145
  }
146
 
@@ -247,7 +247,7 @@ class Rest_Helper_Options extends Rest_Helper {
247
  self::get_response_message( false, str_replace( 'siteground_optimizer_', '', $data['option'] ), $data['value'] ),
248
  array(
249
  $data['option'] => get_option( $data['option'], 0 ),
250
- ),
251
  );
252
  }
253
 
102
  self::get_response_message( false, str_replace( 'siteground_optimizer_default_', '', $key ), 1 ),
103
  array(
104
  $key => get_option( 'siteground_optimizer_' . $key, 0 ),
105
+ )
106
  );
107
  }
108
 
140
  self::get_response_message( false, str_replace( 'siteground_optimizer_default_', '', $key ), 0 ),
141
  array(
142
  $key => get_option( 'siteground_optimizer_' . $key, 1 ),
143
+ )
144
  );
145
  }
146
 
247
  self::get_response_message( false, str_replace( 'siteground_optimizer_', '', $data['option'] ), $data['value'] ),
248
  array(
249
  $data['option'] => get_option( $data['option'], 0 ),
250
+ )
251
  );
252
  }
253
 
readme.txt CHANGED
@@ -428,6 +428,11 @@ Our plugin uses a cookie in order to function properly. It does not store person
428
 
429
  == Changelog ==
430
 
 
 
 
 
 
431
  = Version 7.1.3 =
432
  Release Date: June 20th, 2022
433
 
428
 
429
  == Changelog ==
430
 
431
+ = Version 7.1.4 =
432
+ Release Date: June 21th, 2022
433
+
434
+ * Improved older PHP versions support
435
+
436
  = Version 7.1.3 =
437
  Release Date: June 20th, 2022
438
 
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.1.3
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.1.3' );
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.1.4
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.1.4' );
36
  }
37
 
38
  // Define slug constant.
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '40e59b6274c28d9d5f97453df9e0c5c64fd0c1b0',
9
  'name' => 'siteground/sg-cachepress',
10
  'dev' => true,
11
  ),
@@ -72,7 +72,7 @@
72
  'type' => 'wordpress-plugin',
73
  'install_path' => __DIR__ . '/../../',
74
  'aliases' => array(),
75
- 'reference' => '40e59b6274c28d9d5f97453df9e0c5c64fd0c1b0',
76
  'dev_requirement' => false,
77
  ),
78
  'siteground/siteground-data' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '2a0a78bde552761545c9db07e9f84f5693e5966c',
9
  'name' => 'siteground/sg-cachepress',
10
  'dev' => true,
11
  ),
72
  'type' => 'wordpress-plugin',
73
  'install_path' => __DIR__ . '/../../',
74
  'aliases' => array(),
75
+ 'reference' => '2a0a78bde552761545c9db07e9f84f5693e5966c',
76
  'dev_requirement' => false,
77
  ),
78
  'siteground/siteground-data' => array(