SG Optimizer - Version 5.7.6

Version Description

Download this release

Release Info

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

Code changes from version 5.7.5 to 5.7.6

core/Supercacher/Supercacher.php CHANGED
@@ -72,6 +72,7 @@ class Supercacher {
72
 
73
  // Delete assets (minified js and css files) every 30 days.
74
  add_action( 'siteground_delete_assets', array( $this, 'delete_assets' ) );
 
75
  add_filter( 'cron_schedules', array( $this, 'add_siteground_cron_schedule' ) );
76
 
77
  // Schedule a cron job that will delete all assets (minified js and css files) every 30 days.
72
 
73
  // Delete assets (minified js and css files) every 30 days.
74
  add_action( 'siteground_delete_assets', array( $this, 'delete_assets' ) );
75
+ add_action( 'siteground_delete_assets', array( $this, 'purge_cache' ) );
76
  add_filter( 'cron_schedules', array( $this, 'add_siteground_cron_schedule' ) );
77
 
78
  // Schedule a cron job that will delete all assets (minified js and css files) every 30 days.
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Hristo Sg, siteground, sstoqnov, stoyangeorgiev
3
  Tags: nginx, caching, speed, memcache, memcached, performance, siteground, nginx, supercacher
4
  Requires at least: 4.7
5
  Requires PHP: 5.5
6
- Tested up to: 5.5.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -212,6 +212,9 @@ Our plugin uses a cookie in order to function properly. It does not store person
212
 
213
  == Changelog ==
214
 
 
 
 
215
  = Version 5.7.5 =
216
  * Improved Flatsome UX Builder support
217
  * Improved Essential Addons for Elementor support
3
  Tags: nginx, caching, speed, memcache, memcached, performance, siteground, nginx, supercacher
4
  Requires at least: 4.7
5
  Requires PHP: 5.5
6
+ Tested up to: 5.6.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
212
 
213
  == Changelog ==
214
 
215
+ = Version 5.7.6 =
216
+ * Improved cache flush, on automatic assets deletion
217
+
218
  = Version 5.7.5 =
219
  * Improved Flatsome UX Builder support
220
  * Improved Essential Addons for 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.7.5
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.7.5' );
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.7.6
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.7.6' );
35
  }
36
 
37
  // Define slug constant.