Version Description
- to prevent caching 403 forbidden page which is generated by iThemes Security plugin
- to convert domain name from IDNA ASCII to Unicode for CDN
- to minify the imported css sources
- to round if the preload number is decimal
Download this release
Release Info
Developer | emrevona |
Plugin | WP Fastest Cache |
Version | 0.9.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.9.1.0 to 0.9.1.1
- inc/admin-toolbar.php +1 -1
- inc/cdn.php +4 -0
- inc/css-utilities.php +6 -0
- inc/preload.php +1 -1
- readme.txt +7 -1
- wpFastestCache.php +1 -1
inc/admin-toolbar.php
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
}
|
23 |
|
24 |
public function load_toolbar_js(){
|
25 |
-
wp_enqueue_script("wpfc-toolbar", plugins_url("wp-fastest-cache/js/toolbar.js"), array(), time(), true);
|
26 |
}
|
27 |
|
28 |
public function load_toolbar_css(){
|
22 |
}
|
23 |
|
24 |
public function load_toolbar_js(){
|
25 |
+
wp_enqueue_script("wpfc-toolbar", plugins_url("wp-fastest-cache/js/toolbar.js"), array('jquery'), time(), true);
|
26 |
}
|
27 |
|
28 |
public function load_toolbar_css(){
|
inc/cdn.php
CHANGED
@@ -139,6 +139,10 @@
|
|
139 |
public static function cloudflare_get_zone_id($email = false, $key = false){
|
140 |
$hostname = preg_replace("/^(https?\:\/\/)?(www\d*\.)?/", "", $_SERVER["HTTP_HOST"]);
|
141 |
|
|
|
|
|
|
|
|
|
142 |
$header = array("method" => "GET",
|
143 |
'headers' => array(
|
144 |
"X-Auth-Email" => $email,
|
139 |
public static function cloudflare_get_zone_id($email = false, $key = false){
|
140 |
$hostname = preg_replace("/^(https?\:\/\/)?(www\d*\.)?/", "", $_SERVER["HTTP_HOST"]);
|
141 |
|
142 |
+
if(function_exists("idn_to_utf8")){
|
143 |
+
$hostname = idn_to_utf8($hostname);
|
144 |
+
}
|
145 |
+
|
146 |
$header = array("method" => "GET",
|
147 |
'headers' => array(
|
148 |
"X-Auth-Email" => $email,
|
inc/css-utilities.php
CHANGED
@@ -555,6 +555,12 @@
|
|
555 |
$this->url = $matches[1];
|
556 |
$cssContent = $this->fixPathsInCssContent($cssContent, $matches[1]);
|
557 |
$this->url = $tmp_url;
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
return $cssContent;
|
559 |
}
|
560 |
}
|
555 |
$this->url = $matches[1];
|
556 |
$cssContent = $this->fixPathsInCssContent($cssContent, $matches[1]);
|
557 |
$this->url = $tmp_url;
|
558 |
+
|
559 |
+
// to minify again because of the @import css sources
|
560 |
+
if(isset($this->wpfc->options->wpFastestCacheMinifyCss) && $this->wpfc->options->wpFastestCacheMinifyCss){
|
561 |
+
$cssContent = $this->_process($cssContent);
|
562 |
+
}
|
563 |
+
|
564 |
return $cssContent;
|
565 |
}
|
566 |
}
|
inc/preload.php
CHANGED
@@ -155,7 +155,7 @@
|
|
155 |
|
156 |
if(isset($options->wpFastestCacheMobileTheme) && $options->wpFastestCacheMobileTheme){
|
157 |
$mobile_theme = true;
|
158 |
-
$number = $number/2;
|
159 |
}else{
|
160 |
$mobile_theme = false;
|
161 |
}
|
155 |
|
156 |
if(isset($options->wpFastestCacheMobileTheme) && $options->wpFastestCacheMobileTheme){
|
157 |
$mobile_theme = true;
|
158 |
+
$number = round($number/2);
|
159 |
}else{
|
160 |
$mobile_theme = false;
|
161 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://profiles.wordpress.org/emrevona/
|
|
4 |
Tags: cache, caching, performance, wp-cache, total cache, super cache, cdn
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 0.9.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -124,6 +124,12 @@ The free version is enough to speed up your site but in the premium version ther
|
|
124 |
|
125 |
== Changelog ==
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
= 0.9.1.0 =
|
128 |
* to fix PHP Notice: Undefined property: stdClass::$excludekeywords in wpFastestCache.php on line 1935
|
129 |
* to fix Undefined offset: 0 in cache.php on line 865
|
4 |
Tags: cache, caching, performance, wp-cache, total cache, super cache, cdn
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 0.9.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
124 |
|
125 |
== Changelog ==
|
126 |
|
127 |
+
= 0.9.1.1 =
|
128 |
+
* to prevent caching 403 forbidden page which is generated by iThemes Security plugin
|
129 |
+
* to convert domain name from IDNA ASCII to Unicode for CDN
|
130 |
+
* to minify the imported css sources
|
131 |
+
* to round if the preload number is decimal
|
132 |
+
|
133 |
= 0.9.1.0 =
|
134 |
* to fix PHP Notice: Undefined property: stdClass::$excludekeywords in wpFastestCache.php on line 1935
|
135 |
* to fix Undefined offset: 0 in cache.php on line 865
|
wpFastestCache.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Fastest Cache
|
4 |
Plugin URI: http://wordpress.org/plugins/wp-fastest-cache/
|
5 |
Description: The simplest and fastest WP Cache system
|
6 |
-
Version: 0.9.1.
|
7 |
Author: Emre Vona
|
8 |
Author URI: http://tr.linkedin.com/in/emrevona
|
9 |
Text Domain: wp-fastest-cache
|
3 |
Plugin Name: WP Fastest Cache
|
4 |
Plugin URI: http://wordpress.org/plugins/wp-fastest-cache/
|
5 |
Description: The simplest and fastest WP Cache system
|
6 |
+
Version: 0.9.1.1
|
7 |
Author: Emre Vona
|
8 |
Author URI: http://tr.linkedin.com/in/emrevona
|
9 |
Text Domain: wp-fastest-cache
|