Breeze – WordPress Cache Plugin - Version 1.1.4

Version Description

  • Fix: PHP Fatal error while running commands through WP_CLI
Download this release

Release Info

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

Code changes from version 1.1.3 to 1.1.4

Files changed (3) hide show
  1. breeze.php +3 -3
  2. inc/breeze-admin.php +1 -1
  3. readme.txt +4 -1
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: 1.1.3
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', '1.1.3' );
41
  }
42
  if ( ! defined( 'BREEZE_SITEURL' ) ) {
43
  define( 'BREEZE_SITEURL', get_site_url() );
@@ -82,7 +82,7 @@ register_deactivation_hook( __FILE__, array( 'Breeze_Admin', 'plugin_deactive_ho
82
 
83
  require_once( BREEZE_PLUGIN_DIR . 'inc/breeze-admin.php' );
84
 
85
- if ( is_admin() ) {
86
 
87
  require_once( BREEZE_PLUGIN_DIR . 'inc/breeze-configuration.php' );
88
  //config to cache
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: 1.1.4
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', '1.1.4' );
41
  }
42
  if ( ! defined( 'BREEZE_SITEURL' ) ) {
43
  define( 'BREEZE_SITEURL', get_site_url() );
82
 
83
  require_once( BREEZE_PLUGIN_DIR . 'inc/breeze-admin.php' );
84
 
85
+ if ( is_admin() || 'cli' === php_sapi_name() ) {
86
 
87
  require_once( BREEZE_PLUGIN_DIR . 'inc/breeze-configuration.php' );
88
  //config to cache
inc/breeze-admin.php CHANGED
@@ -33,7 +33,7 @@ class Breeze_Admin {
33
  add_action( 'breeze_clear_all_cache', array( $this, 'breeze_clear_all_cache' ) );
34
  add_action( 'breeze_clear_varnish', array( $this, 'breeze_clear_varnish' ) );
35
 
36
- if ( is_admin() ) {
37
  add_action( 'admin_init', array( $this, 'admin_init' ) );
38
 
39
  //register menu
33
  add_action( 'breeze_clear_all_cache', array( $this, 'breeze_clear_all_cache' ) );
34
  add_action( 'breeze_clear_varnish', array( $this, 'breeze_clear_varnish' ) );
35
 
36
+ if ( is_admin() || 'cli' === php_sapi_name() ) {
37
  add_action( 'admin_init', array( $this, 'admin_init' ) );
38
 
39
  //register menu
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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: 4.5
5
  Tested up to: 5.3
6
- Stable tag: 1.1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -145,6 +145,9 @@ Using Gzip, Breeze compresses the request files, further reducing the size of th
145
 
146
  == Changelog ==
147
 
 
 
 
148
  = 1.1.3 =
149
  * Fix: Undefine error for inline JS when JS Group file is enabled.
150
  * Fix: Several files displayed when Group Files was enabled.
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: 4.5
5
  Tested up to: 5.3
6
+ Stable tag: 1.1.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
145
 
146
  == Changelog ==
147
 
148
+ = 1.1.4 =
149
+ * Fix: PHP Fatal error while running commands through WP_CLI
150
+
151
  = 1.1.3 =
152
  * Fix: Undefine error for inline JS when JS Group file is enabled.
153
  * Fix: Several files displayed when Group Files was enabled.