Hyper Cache - Version 1.0.8

Version Description

Download this release

Release Info

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

Code changes from version 1.0.7 to 1.0.8

Files changed (3) hide show
  1. options.php +1 -1
  2. plugin.php +6 -3
  3. readme.txt +1 -1
options.php CHANGED
@@ -56,7 +56,7 @@ function hyper_field_textarea($name, $label='', $tips='', $attrs='') {
56
  }
57
 
58
  if (isset($_POST['clear'])) {
59
- hyper_cache_invalidate();
60
  }
61
 
62
  if (isset($_POST['save'])) {
56
  }
57
 
58
  if (isset($_POST['clear'])) {
59
+ hyper_cache_invalidate(true);
60
  }
61
 
62
  if (isset($_POST['save'])) {
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.
6
- Version: 1.0.7
7
  Author: Satollo
8
  Author URI: http://www.satollo.com
9
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
@@ -29,6 +29,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29
  ---
30
  Changelog
31
  ---
 
 
 
32
  Version 1.0.7
33
  - Fixed the mime type for feed
34
  - Added the "do not expire on actions" option
@@ -91,11 +94,11 @@ function hyper_admin_head() {
91
  add_options_page('Hyper Cache', 'Hyper Cache', 'manage_options', 'hyper-cache/options.php');
92
  }
93
 
94
- function hyper_cache_invalidate()
95
  {
96
  global $hyper_options;
97
 
98
- if ($hyper_options['not_expire_on_actions']) return;
99
 
100
  $path = ABSPATH . 'wp-content/' . time();
101
  rename(ABSPATH . 'wp-content/hyper-cache', $path);
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.
6
+ Version: 1.0.8
7
  Author: Satollo
8
  Author URI: http://www.satollo.com
9
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
29
  ---
30
  Changelog
31
  ---
32
+ Version 1.0.8
33
+ - fixed the "clear cache" that didn't work when "not exipre on actions" was set
34
+
35
  Version 1.0.7
36
  - Fixed the mime type for feed
37
  - Added the "do not expire on actions" option
94
  add_options_page('Hyper Cache', 'Hyper Cache', 'manage_options', 'hyper-cache/options.php');
95
  }
96
 
97
+ function hyper_cache_invalidate($force=false)
98
  {
99
  global $hyper_options;
100
 
101
+ if (!force && $hyper_options['not_expire_on_actions']) return;
102
 
103
  $path = ABSPATH . 'wp-content/' . time();
104
  rename(ABSPATH . 'wp-content/hyper-cache', $path);
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: cache,chaching
3
  Requires at least: 2.1
4
  Tested up to: 2.5.1
5
- Stable tag: 1.0.7
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.5.1
5
+ Stable tag: 1.0.8
6
  Donate link: http://www.satollo.com/english/donate
7
  Contributors: satollo,momo360modena
8