Version Description
- Fix: Improved handling of forms using nonce in Permalinks and Options pages.
Download this release
Release Info
Developer | adeelkhan |
Plugin | Breeze – WordPress Cache Plugin |
Version | 1.1.11 |
Comparing to | |
See all releases |
Code changes from version 1.1.10 to 1.1.11
- breeze.php +9 -4
- readme.txt +5 -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.
|
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.
|
41 |
}
|
42 |
if ( ! defined( 'BREEZE_SITEURL' ) ) {
|
43 |
define( 'BREEZE_SITEURL', get_site_url() );
|
@@ -209,7 +209,12 @@ add_action( 'upgrader_process_complete', 'breeze_after_plugin_update_done', 10,
|
|
209 |
function breeze_check_for_new_version() {
|
210 |
// When permalinks are reset, we also reset the config files.
|
211 |
if ( isset( $_POST['permalink_structure'] ) || isset( $_POST['category_base'] ) ) {
|
212 |
-
|
|
|
|
|
|
|
|
|
|
|
213 |
// If the WP install is multi-site
|
214 |
|
215 |
global $wp_filesystem;
|
@@ -318,7 +323,7 @@ function breeze_check_for_new_version() {
|
|
318 |
}
|
319 |
}
|
320 |
|
321 |
-
add_action( '
|
322 |
|
323 |
|
324 |
add_action( 'wp_login', 'refresh_config_files', 10, 2 );
|
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.11
|
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.11' );
|
41 |
}
|
42 |
if ( ! defined( 'BREEZE_SITEURL' ) ) {
|
43 |
define( 'BREEZE_SITEURL', get_site_url() );
|
209 |
function breeze_check_for_new_version() {
|
210 |
// When permalinks are reset, we also reset the config files.
|
211 |
if ( isset( $_POST['permalink_structure'] ) || isset( $_POST['category_base'] ) ) {
|
212 |
+
$to_action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : 'permalink';
|
213 |
+
if ( 'permalink' !== $to_action ) {
|
214 |
+
check_admin_referer( 'options-options' );
|
215 |
+
} else {
|
216 |
+
check_admin_referer( 'update-permalink' );
|
217 |
+
}
|
218 |
// If the WP install is multi-site
|
219 |
|
220 |
global $wp_filesystem;
|
323 |
}
|
324 |
}
|
325 |
|
326 |
+
add_action( 'admin_init', 'breeze_check_for_new_version', 99 );
|
327 |
|
328 |
|
329 |
add_action( 'wp_login', 'refresh_config_files', 10, 2 );
|
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.7
|
6 |
-
Stable tag: 1.1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -145,6 +145,10 @@ Using Gzip, Breeze compresses the request files, further reducing the size of th
|
|
145 |
|
146 |
== Changelog ==
|
147 |
|
|
|
|
|
|
|
|
|
148 |
= 1.1.10 =
|
149 |
|
150 |
* Fix: Apply deferred loading at individual file.
|
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.7
|
6 |
+
Stable tag: 1.1.11
|
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.11 =
|
149 |
+
|
150 |
+
* Fix: Improved handling of forms using nonce in Permalinks and Options pages.
|
151 |
+
|
152 |
= 1.1.10 =
|
153 |
|
154 |
* Fix: Apply deferred loading at individual file.
|