Version Description
- Fix: Removed the use of remote JS. Now uses built-in version of jQuery Libraries.
Download this release
Release Info
Developer | adeelkhan |
Plugin | Breeze – WordPress Cache Plugin |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- breeze.php +2 -2
- inc/breeze-admin.php +10 -1
- readme.txt +4 -1
- views/breeze-setting-views.php +0 -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
|
@@ -36,7 +36,7 @@ defined('ABSPATH') || die('No direct script access allowed!');
|
|
36 |
if (!defined('BREEZE_PLUGIN_DIR'))
|
37 |
define('BREEZE_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
38 |
if (!defined('BREEZE_VERSION'))
|
39 |
-
define('BREEZE_VERSION','1.
|
40 |
if (!defined('BREEZE_SITEURL'))
|
41 |
define('BREEZE_SITEURL', get_site_url());
|
42 |
if (!defined('BREEZE_MINIFICATION_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.1
|
6 |
* Text Domain: breeze
|
7 |
* Domain Path: /languages
|
8 |
* Author: Cloudways
|
36 |
if (!defined('BREEZE_PLUGIN_DIR'))
|
37 |
define('BREEZE_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
38 |
if (!defined('BREEZE_VERSION'))
|
39 |
+
define('BREEZE_VERSION','1.1.1');
|
40 |
if (!defined('BREEZE_SITEURL'))
|
41 |
define('BREEZE_SITEURL', get_site_url());
|
42 |
if (!defined('BREEZE_MINIFICATION_CACHE'))
|
inc/breeze-admin.php
CHANGED
@@ -100,7 +100,9 @@ class Breeze_Admin {
|
|
100 |
|
101 |
|
102 |
function loadAdminScripts() {
|
103 |
-
|
|
|
|
|
104 |
wp_enqueue_script('breeze-backend', plugins_url('assets/js/breeze-backend.js', dirname(__FILE__)), array('jquery'), BREEZE_VERSION, true);
|
105 |
wp_enqueue_style('breeze-topbar', plugins_url('assets/css/topbar.css', dirname(__FILE__)));
|
106 |
$current_screen = get_current_screen();
|
@@ -109,6 +111,13 @@ class Breeze_Admin {
|
|
109 |
wp_enqueue_style('breeze-style', plugins_url('assets/css/style.css', dirname(__FILE__)));
|
110 |
//js
|
111 |
wp_enqueue_script('breeze-configuration', plugins_url('assets/js/breeze-configuration.js', dirname(__FILE__)), array('jquery'), BREEZE_VERSION, true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
}
|
113 |
|
114 |
$token_name = array(
|
100 |
|
101 |
|
102 |
function loadAdminScripts() {
|
103 |
+
if ( ! wp_script_is( 'jquery', 'enqueued' ) ) {
|
104 |
+
wp_enqueue_script( 'jquery' );
|
105 |
+
}
|
106 |
wp_enqueue_script('breeze-backend', plugins_url('assets/js/breeze-backend.js', dirname(__FILE__)), array('jquery'), BREEZE_VERSION, true);
|
107 |
wp_enqueue_style('breeze-topbar', plugins_url('assets/css/topbar.css', dirname(__FILE__)));
|
108 |
$current_screen = get_current_screen();
|
111 |
wp_enqueue_style('breeze-style', plugins_url('assets/css/style.css', dirname(__FILE__)));
|
112 |
//js
|
113 |
wp_enqueue_script('breeze-configuration', plugins_url('assets/js/breeze-configuration.js', dirname(__FILE__)), array('jquery'), BREEZE_VERSION, true);
|
114 |
+
|
115 |
+
// Include the required jQuery UI Core & Libraries
|
116 |
+
wp_enqueue_script( 'jquery-ui-core' );
|
117 |
+
wp_enqueue_script( 'jquery-ui-tabs' );
|
118 |
+
wp_enqueue_script( 'jquery-ui-accordion' );
|
119 |
+
wp_enqueue_script( 'jquery-ui-sortable' );
|
120 |
+
wp_enqueue_script( 'jquery-ui-widget' );
|
121 |
}
|
122 |
|
123 |
$token_name = array(
|
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.2.1
|
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,9 @@ Using Gzip, Breeze compresses the request files, further reducing the size of th
|
|
145 |
|
146 |
== Changelog ==
|
147 |
|
|
|
|
|
|
|
148 |
= 1.1.0 =
|
149 |
* Add: Optional separate cache settings for subsites.
|
150 |
|
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.2.1
|
6 |
+
Stable tag: 1.1.1
|
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.1 =
|
149 |
+
* Fix: Removed the use of remote JS. Now uses built-in version of jQuery Libraries.
|
150 |
+
|
151 |
= 1.1.0 =
|
152 |
* Add: Optional separate cache settings for subsites.
|
153 |
|
views/breeze-setting-views.php
CHANGED
@@ -15,7 +15,6 @@ $global_tabs = array(
|
|
15 |
'faq',
|
16 |
);
|
17 |
|
18 |
-
wp_enqueue_script('jquery-ui', '//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js');
|
19 |
?>
|
20 |
<?php if (isset($_REQUEST['database-cleanup']) && $_REQUEST['database-cleanup'] == 'success'): ?>
|
21 |
<div id="message-save-settings" class="notice notice-success is-dismissible" style="margin: 10px 0px 10px 0;padding: 10px;"><strong><?php _e('Database cleanup successful', 'breeze'); ?></strong></div>
|
15 |
'faq',
|
16 |
);
|
17 |
|
|
|
18 |
?>
|
19 |
<?php if (isset($_REQUEST['database-cleanup']) && $_REQUEST['database-cleanup'] == 'success'): ?>
|
20 |
<div id="message-save-settings" class="notice notice-success is-dismissible" style="margin: 10px 0px 10px 0;padding: 10px;"><strong><?php _e('Database cleanup successful', 'breeze'); ?></strong></div>
|