Version Description
- Removed the javascript on AMP ready pages
Download this release
Release Info
Developer | satollo |
Plugin | Hyper Cache |
Version | 3.3.2 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.3.2
- plugin.php +3 -1
- readme.txt +6 -2
plugin.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Hyper Cache
|
5 |
Plugin URI: http://www.satollo.net/plugins/hyper-cache
|
6 |
Description: A easy to configure and efficient cache to increase the speed of your blog.
|
7 |
-
Version: 3.3.
|
8 |
Author: Stefano Lissa
|
9 |
Author URI: http://www.satollo.net
|
10 |
Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
|
@@ -625,6 +625,7 @@ function hyper_cache_callback($buffer) {
|
|
625 |
}
|
626 |
|
627 |
if (!isset($options['reject_comment_authors']) && is_singular() && !is_feed() && !is_user_logged_in()) {
|
|
|
628 |
$script = '<script>';
|
629 |
$script .= 'function lc_get_cookie(name) {';
|
630 |
$script .= 'var c = document.cookie;';
|
@@ -649,6 +650,7 @@ function hyper_cache_callback($buffer) {
|
|
649 |
} else {
|
650 |
$buffer .= $script;
|
651 |
}
|
|
|
652 |
}
|
653 |
|
654 |
@file_put_contents($lc_file, $buffer . '<!-- hyper cache ' . date('Y-m-d h:i:s') . ' -->');
|
4 |
Plugin Name: Hyper Cache
|
5 |
Plugin URI: http://www.satollo.net/plugins/hyper-cache
|
6 |
Description: A easy to configure and efficient cache to increase the speed of your blog.
|
7 |
+
Version: 3.3.2
|
8 |
Author: Stefano Lissa
|
9 |
Author URI: http://www.satollo.net
|
10 |
Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
|
625 |
}
|
626 |
|
627 |
if (!isset($options['reject_comment_authors']) && is_singular() && !is_feed() && !is_user_logged_in()) {
|
628 |
+
if (function_exists('is_amp_endpoint') && !is_amp_endpoint()) {
|
629 |
$script = '<script>';
|
630 |
$script .= 'function lc_get_cookie(name) {';
|
631 |
$script .= 'var c = document.cookie;';
|
650 |
} else {
|
651 |
$buffer .= $script;
|
652 |
}
|
653 |
+
}
|
654 |
}
|
655 |
|
656 |
@file_put_contents($lc_file, $buffer . '<!-- hyper cache ' . date('Y-m-d h:i:s') . ' -->');
|
readme.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
=== Hyper Cache ===
|
2 |
Tags: cache,performance,staticizer,apache,htaccess,tuning,speed,bandwidth,optimization,tidy,gzip,compression,server load,boost
|
3 |
Requires at least: 2.5
|
4 |
-
Tested up to: 4.
|
5 |
-
Stable tag: 3.3.
|
6 |
Donate link: http://www.satollo.net/donations
|
7 |
Contributors: satollo
|
8 |
|
@@ -68,6 +68,10 @@ the [Hyper Cache official forum](http://www.satollo.net/forums/forum/hyper-cache
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
|
|
|
|
|
|
|
|
71 |
= 3.3.1 =
|
72 |
|
73 |
* Removed the old import code
|
1 |
=== Hyper Cache ===
|
2 |
Tags: cache,performance,staticizer,apache,htaccess,tuning,speed,bandwidth,optimization,tidy,gzip,compression,server load,boost
|
3 |
Requires at least: 2.5
|
4 |
+
Tested up to: 4.8
|
5 |
+
Stable tag: 3.3.2
|
6 |
Donate link: http://www.satollo.net/donations
|
7 |
Contributors: satollo
|
8 |
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
= 3.3.2 =
|
72 |
+
|
73 |
+
* Removed the javascript on AMP ready pages
|
74 |
+
|
75 |
= 3.3.1 =
|
76 |
|
77 |
* Removed the old import code
|