Breeze – WordPress Cache Plugin - Version 2.0.12

Version Description

Update Breeze through WordPress Admin > Dashboard >Updates. The settings will remain intact after the update.

Download this release

Release Info

Developer adeelkhan
Plugin Icon 128x128 Breeze – WordPress Cache Plugin
Version 2.0.12
Comparing to
See all releases

Code changes from version 2.0.11 to 2.0.12

breeze.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Breeze
4
  * Description: Breeze is a WordPress cache plugin with extensive options to speed up your website. All the options including Varnish Cache are compatible with Cloudways hosting.
5
- * Version: 2.0.11
6
  * Text Domain: breeze
7
  * Domain Path: /languages
8
  * Author: Cloudways
@@ -37,7 +37,7 @@ if ( ! defined( 'BREEZE_PLUGIN_DIR' ) ) {
37
  define( 'BREEZE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
38
  }
39
  if ( ! defined( 'BREEZE_VERSION' ) ) {
40
- define( 'BREEZE_VERSION', '2.0.11' );
41
  }
42
  if ( ! defined( 'BREEZE_SITEURL' ) ) {
43
  define( 'BREEZE_SITEURL', get_site_url() );
@@ -137,6 +137,7 @@ if ( is_admin() || 'cli' === php_sapi_name() ) {
137
  }
138
  // Compatibility with ShortPixel.
139
  require_once( BREEZE_PLUGIN_DIR . 'inc/compatibility/class-breeze-shortpixel-compatibility.php' );
 
140
 
141
 
142
  // Call back ob start - stack
2
  /**
3
  * Plugin Name: Breeze
4
  * Description: Breeze is a WordPress cache plugin with extensive options to speed up your website. All the options including Varnish Cache are compatible with Cloudways hosting.
5
+ * Version: 2.0.12
6
  * Text Domain: breeze
7
  * Domain Path: /languages
8
  * Author: Cloudways
37
  define( 'BREEZE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
38
  }
39
  if ( ! defined( 'BREEZE_VERSION' ) ) {
40
+ define( 'BREEZE_VERSION', '2.0.12' );
41
  }
42
  if ( ! defined( 'BREEZE_SITEURL' ) ) {
43
  define( 'BREEZE_SITEURL', get_site_url() );
137
  }
138
  // Compatibility with ShortPixel.
139
  require_once( BREEZE_PLUGIN_DIR . 'inc/compatibility/class-breeze-shortpixel-compatibility.php' );
140
+ require_once( BREEZE_PLUGIN_DIR . 'inc/compatibility/class-breeze-avada-cache.php' );
141
 
142
 
143
  // Call back ob start - stack
inc/compatibility/class-breeze-avada-cache.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Compatibility with Avada theme cache reset.
5
+ */
6
+ class Breeze_Avada_Cache {
7
+ private $run_time = 0;
8
+
9
+ private static $instance = null;
10
+
11
+ function __construct() {
12
+ add_action( 'fusion_cache_reset_after', array( &$this, 'clear_breeze_cache' ), 99 );
13
+ }
14
+
15
+ /**
16
+ * On Avada cache clear, also clear breeze cache.
17
+ *
18
+ * @return void
19
+ * @since 2.0.12
20
+ * @access public
21
+ */
22
+ public function clear_breeze_cache() {
23
+ if ( 0 === $this->run_time && wp_doing_ajax() ) {
24
+ //delete minify
25
+ Breeze_MinificationCache::clear_minification();
26
+ //clear normal cache
27
+ Breeze_PurgeCache::breeze_cache_flush( false );
28
+
29
+ $admin = new Breeze_Admin();
30
+ $admin->breeze_clear_varnish();
31
+
32
+ $this->run_time ++;
33
+ }
34
+ }
35
+
36
+ public static function get_instance(): ?Breeze_Avada_Cache {
37
+ if ( null === self::$instance ) {
38
+ self::$instance = new Breeze_Avada_Cache();
39
+ }
40
+
41
+ return self::$instance;
42
+ }
43
+ }
44
+
45
+ Breeze_Avada_Cache::get_instance();
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Breeze - WordPress Cache Plugin ===
2
  Contributors: Cloudways
3
  Tags: cache,caching, performance, wp-cache, cdn, combine, compress, speed plugin, database cache,gzip, http compression, js cache, minify, optimize, page cache, performance, speed, expire headers
4
- Requires at least: 5.9
5
  Tested up to: 6.1
6
- Stable tag: 2.0.11
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -144,6 +144,11 @@ Using Gzip, Breeze compresses the request files, further reducing the size of th
144
 
145
  == Changelog ==
146
 
 
 
 
 
 
147
  = 2.0.11=
148
 
149
  * Add: Scanning of CDN URL to verify it is not malicious in the CDN.
@@ -429,4 +434,4 @@ Update Breeze through WordPress Admin > Dashboard >Updates. The settings will re
429
 
430
  == Requirements ==
431
 
432
- PHP 7.x ,PHP 7.4, PHP 8 recommended for better performance, WordPress 5.9+
1
  === Breeze - WordPress Cache Plugin ===
2
  Contributors: Cloudways
3
  Tags: cache,caching, performance, wp-cache, cdn, combine, compress, speed plugin, database cache,gzip, http compression, js cache, minify, optimize, page cache, performance, speed, expire headers
4
+ Requires at least: 6.0
5
  Tested up to: 6.1
6
+ Stable tag: 2.0.12
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
144
 
145
  == Changelog ==
146
 
147
+ = 2.0.12=
148
+
149
+ * Fix: Synchronized the reset cache option of the Avada theme with Breeze.
150
+
151
+
152
  = 2.0.11=
153
 
154
  * Add: Scanning of CDN URL to verify it is not malicious in the CDN.
434
 
435
  == Requirements ==
436
 
437
+ PHP 7.4, PHP 8 recommended for better performance, WordPress 6.0+