SG Optimizer - Version 5.5.3

Version Description

Download this release

Release Info

Developer sstoqnov
Plugin Icon 128x128 SG Optimizer
Version 5.5.3
Comparing to
See all releases

Code changes from version 5.5.2 to 5.5.3

core/Front_End_Optimization/Front_End_Optimization.php CHANGED
@@ -107,7 +107,14 @@ class Front_End_Optimization {
107
 
108
  new Minifier();
109
 
110
- new Parser();
 
 
 
 
 
 
 
111
  }
112
 
113
  /**
107
 
108
  new Minifier();
109
 
110
+ if (
111
+ Options::is_enabled( 'siteground_optimizer_optimize_html' ) ||
112
+ Options::is_enabled( 'siteground_optimizer_combine_css' ) ||
113
+ Options::is_enabled( 'siteground_optimizer_combine_javascript' ) ||
114
+ Options::is_enabled( 'siteground_optimizer_combine_google_fonts' )
115
+ ) {
116
+ new Parser();
117
+ }
118
  }
119
 
120
  /**
core/Lazy_Load/Lazy_Load_Images.php CHANGED
@@ -14,7 +14,7 @@ class Lazy_Load_Images {
14
  */
15
  public function __construct() {
16
  // Replace the 'src' attr with 'data-src' in the_content.
17
- add_filter( 'the_content', array( $this, 'filter_html' ), 9999 );
18
 
19
  // If enabled replace the 'src' attr with 'data-src' in text widgets.
20
  if ( Options::is_enabled( 'siteground_optimizer_lazyload_textwidgets' ) ) {
14
  */
15
  public function __construct() {
16
  // Replace the 'src' attr with 'data-src' in the_content.
17
+ add_filter( 'the_content', array( $this, 'filter_html' ) );
18
 
19
  // If enabled replace the 'src' attr with 'data-src' in text widgets.
20
  if ( Options::is_enabled( 'siteground_optimizer_lazyload_textwidgets' ) ) {
readme.txt CHANGED
@@ -204,6 +204,9 @@ Our plugin uses a cookie in order to function properly. It does not store person
204
 
205
  == Changelog ==
206
 
 
 
 
207
  = Version 5.5.2 =
208
  * Better CSS Combination
209
  * Better Fonts Combination
@@ -211,6 +214,7 @@ Our plugin uses a cookie in order to function properly. It does not store person
211
  * Improved WebP Quaity Slider
212
  * Updated readme.txt file
213
  * Added WP-CLI Commands: combine-js and webp
 
214
 
215
  = Version 5.5.1 =
216
  * Better Elementor support
204
 
205
  == Changelog ==
206
 
207
+ = Version 5.5.3 =
208
+ * Fix ISE for Flatsome theme
209
+
210
  = Version 5.5.2 =
211
  * Better CSS Combination
212
  * Better Fonts Combination
214
  * Improved WebP Quaity Slider
215
  * Updated readme.txt file
216
  * Added WP-CLI Commands: combine-js and webp
217
+ * Better Polylang support
218
 
219
  = Version 5.5.1 =
220
  * Better Elementor support
sg-cachepress.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: SG 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: 5.5.2
14
  * Author: SiteGround
15
  * Author URI: https://www.siteground.com
16
  * Text Domain: sg-cachepress
@@ -31,7 +31,7 @@ if ( ! defined( 'WPINC' ) ) {
31
 
32
  // Define version constant.
33
  if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
34
- define( __NAMESPACE__ . '\VERSION', '5.5.2' );
35
  }
36
 
37
  // Define slug constant.
10
  * Plugin Name: SG 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: 5.5.3
14
  * Author: SiteGround
15
  * Author URI: https://www.siteground.com
16
  * Text Domain: sg-cachepress
31
 
32
  // Define version constant.
33
  if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
34
+ define( __NAMESPACE__ . '\VERSION', '5.5.3' );
35
  }
36
 
37
  // Define slug constant.