Hyper Cache - Version 3.2.9

Version Description

  • Added support for constant HYPER_CACHE_IS_MOBILE
Download this release

Release Info

Developer satollo
Plugin Icon wp plugin Hyper Cache
Version 3.2.9
Comparing to
See all releases

Code changes from version 3.2.8 to 3.2.9

Files changed (3) hide show
  1. advanced-cache.php +3 -3
  2. plugin.php +1 -1
  3. readme.txt +5 -1
advanced-cache.php CHANGED
@@ -4,9 +4,9 @@ global $cache_stop;
4
  $cache_stop = false;
5
 
6
  // Globally used. Here because of the function "theme change"
7
- $hyper_cache_is_mobile = false;
8
-
9
- if (defined('IS_PHONE')) {
10
  $hyper_cache_is_mobile = IS_PHONE;
11
  } else {
12
  $hyper_cache_is_mobile = preg_match('#(HC_MOBILE_AGENTS)#i', $_SERVER['HTTP_USER_AGENT']);
4
  $cache_stop = false;
5
 
6
  // Globally used. Here because of the function "theme change"
7
+ if (defined('HYPER_CACHE_IS_MOBILE')) {
8
+ $hyper_cache_is_mobile = (bool)HYPER_CACHE_IS_MOBILE;
9
+ } else if (defined('IS_PHONE')) {
10
  $hyper_cache_is_mobile = IS_PHONE;
11
  } else {
12
  $hyper_cache_is_mobile = preg_match('#(HC_MOBILE_AGENTS)#i', $_SERVER['HTTP_USER_AGENT']);
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.2.8
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.
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.2.9
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.
readme.txt CHANGED
@@ -2,7 +2,7 @@
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.7.5
5
- Stable tag: 3.2.8
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.2.8 =
72
 
73
  * Fix for possible 500 error code
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.7.5
5
+ Stable tag: 3.2.9
6
  Donate link: http://www.satollo.net/donations
7
  Contributors: satollo
8
 
68
 
69
  == Changelog ==
70
 
71
+ = 3.2.9 =
72
+
73
+ * Added support for constant HYPER_CACHE_IS_MOBILE
74
+
75
  = 3.2.8 =
76
 
77
  * Fix for possible 500 error code