Hyper Cache - Version 2.0.1

Version Description

Download this release

Release Info

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

Code changes from version 2.0.0 to 2.0.1

Files changed (3) hide show
  1. options.php +3 -1
  2. plugin.php +1 -1
  3. readme.txt +1 -1
options.php CHANGED
@@ -76,7 +76,7 @@ if ($installed && isset($_POST['save']))
76
  $options = hyper_request('options');
77
  update_option('hyper', $options);
78
 
79
- if (!$options['timeout'] || !is_numeric($options['timeout']))
80
  {
81
  $options['timeout'] = 60;
82
  }
@@ -103,6 +103,8 @@ if ($installed && isset($_POST['save']))
103
  $reject = explode("\n", $options['reject']);
104
  foreach ($reject as $uri)
105
  {
 
 
106
  $buffer .= "'" . addslashes(trim($uri)) . "',";
107
  }
108
  $buffer = rtrim($buffer, ',');
76
  $options = hyper_request('options');
77
  update_option('hyper', $options);
78
 
79
+ if ($options['timeout'] == '' || !is_numeric($options['timeout']))
80
  {
81
  $options['timeout'] = 60;
82
  }
103
  $reject = explode("\n", $options['reject']);
104
  foreach ($reject as $uri)
105
  {
106
+ $uri = trim($uri);
107
+ if ($uri == '') continue;
108
  $buffer .= "'" . addslashes(trim($uri)) . "',";
109
  }
110
  $buffer = rtrim($buffer, ',');
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Hyper Cache
4
  Plugin URI: http://www.satollo.com/english/wordpress/hyper-cache
5
  Description: Hyper Cache is an extremely aggressive cache for WordPress even for mobile blogs. After an upgrade, DEACTIVATE, REACTIVATE and RECONFIGURE. ALWAYS!
6
- Version: 2.0.0
7
  Author: Satollo
8
  Author URI: http://www.satollo.com
9
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
3
  Plugin Name: Hyper Cache
4
  Plugin URI: http://www.satollo.com/english/wordpress/hyper-cache
5
  Description: Hyper Cache is an extremely aggressive cache for WordPress even for mobile blogs. After an upgrade, DEACTIVATE, REACTIVATE and RECONFIGURE. ALWAYS!
6
+ Version: 2.0.1
7
  Author: Satollo
8
  Author URI: http://www.satollo.com
9
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: cache,chaching
3
  Requires at least: 2.1
4
  Tested up to: 2.6.3
5
- Stable tag: 2.0.0
6
  Donate link: http://www.satollo.com/english/donate
7
  Contributors: satollo,momo360modena
8
 
2
  Tags: cache,chaching
3
  Requires at least: 2.1
4
  Tested up to: 2.6.3
5
+ Stable tag: 2.0.1
6
  Donate link: http://www.satollo.com/english/donate
7
  Contributors: satollo,momo360modena
8