SG Optimizer - Version 5.6.8

Version Description

Download this release

Release Info

Developer stoyangeorgiev
Plugin Icon 128x128 SG Optimizer
Version 5.6.8
Comparing to
See all releases

Code changes from version 5.6.7 to 5.6.8

assets/images/logo-white.svg CHANGED
File without changes
core/Ssl/Ssl.php CHANGED
@@ -282,7 +282,7 @@ class Ssl {
282
  // All tags with src attr are already fixed by str_replace.
283
  $pattern = array(
284
  '/url\([\'"]?\K(http:\/\/)(?=[^)]+)/i',
285
- '/<link .*?href=[\'"]\K(http:\/\/)(?=[^\'"]+)/i',
286
  '/<meta property="og:image" .*?content=[\'"]\K(http:\/\/)(?=[^\'"]+)/i',
287
  '/<form [^>]*?action=[\'"]\K(http:\/\/)(?=[^\'"]+)/i',
288
  );
282
  // All tags with src attr are already fixed by str_replace.
283
  $pattern = array(
284
  '/url\([\'"]?\K(http:\/\/)(?=[^)]+)/i',
285
+ '/<link([^>]*?)href=[\'"]\K(http:\/\/)(?=[^\'"]+)/i',
286
  '/<meta property="og:image" .*?content=[\'"]\K(http:\/\/)(?=[^\'"]+)/i',
287
  '/<form [^>]*?action=[\'"]\K(http:\/\/)(?=[^\'"]+)/i',
288
  );
readme.txt CHANGED
@@ -208,6 +208,9 @@ Our plugin uses a cookie in order to function properly. It does not store person
208
 
209
  == Changelog ==
210
 
 
 
 
211
  = Version 5.6.7 =
212
  * Improved JS & CSS Combination exclude list
213
  * Bumped JS Combination stop limit
208
 
209
  == Changelog ==
210
 
211
+ = Version 5.6.8 =
212
+ * Improved SSL Replace patterns
213
+
214
  = Version 5.6.7 =
215
  * Improved JS & CSS Combination exclude list
216
  * Bumped JS Combination stop limit
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.6.7
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.6.7' );
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.6.8
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.6.8' );
35
  }
36
 
37
  // Define slug constant.