WP Super Cache - Version 0.5.3

Version Description

Download this release

Release Info

Developer donncha
Plugin Icon 128x128 WP Super Cache
Version 0.5.3
Comparing to
See all releases

Code changes from version 0.5.2 to 0.5.3

Files changed (3) hide show
  1. Changelog.txt +49 -0
  2. readme.txt +1 -1
  3. wp-cache.php +7 -8
Changelog.txt CHANGED
@@ -1,3 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  2007-11-26 11:32 donncha
2
 
3
  * wp-cache.php: It's WPLOCKDOWN
1
+ 2008-01-04 11:22 donncha
2
+
3
+ * wp-cache.php: Only update the hello_world option when updating
4
+ the right form
5
+
6
+ 2008-01-04 10:41 donncha
7
+
8
+ * readme.txt, wp-cache.php: Bump version number
9
+
10
+ 2008-01-04 10:40 donncha
11
+
12
+ * wp-cache.php: Rearrange .htaccess generator.
13
+ Allow mod_rewrite rules to be viewed later
14
+ Only create wp-content/cache/.htaccess if it doesn't exist
15
+
16
+ 2008-01-04 10:16 donncha
17
+
18
+ * wp-cache.php: Added Super Cache footer message
19
+
20
+ 2008-01-03 22:29 donncha
21
+
22
+ * wp-cache.php: More fixes for sub directory blogs, props Otto42 -
23
+ http://wordpress.org/support/topic/146443?replies=9#post-664254
24
+
25
+ 2007-12-16 11:07 donncha
26
+
27
+ * wp-cache.php: Warn if ABSPATH is writeable
28
+ Add $home_root to cached files path in rewrite rules
29
+ make mod_rewrite module warning more verbose
30
+
31
+ 2007-12-09 07:39 donncha
32
+
33
+ * wp-cache-phase2.php: Hide unlink errors
34
+
35
+ 2007-12-04 10:18 donncha
36
+
37
+ * wp-cache-phase2.php: Check that mutex is set,
38
+ http://wordpress.org/support/topic/146052?replies=4
39
+
40
+ 2007-11-28 11:29 donncha
41
+
42
+ * wp-cache-phase2.php, wp-cache.php: Check that $entries is not
43
+ empty
44
+ Don't ever recurse from ABSPATH up
45
+
46
+ 2007-11-26 11:33 donncha
47
+
48
+ * Changelog.txt: Updated changelog
49
+
50
  2007-11-26 11:32 donncha
51
 
52
  * wp-cache.php: It's WPLOCKDOWN
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: donncha
3
  Tags: performance,caching,wp-cache
4
  Tested up to: 2.3.1
5
- Stable tag: 0.5.2
6
 
7
  A modification of WP-Cache that produces static html files.
8
 
2
  Contributors: donncha
3
  Tags: performance,caching,wp-cache
4
  Tested up to: 2.3.1
5
+ Stable tag: 0.5.3
6
 
7
  A modification of WP-Cache that produces static html files.
8
 
wp-cache.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Super Cache
4
  Plugin URI: http://ocaoimh.ie/wp-super-cache/
5
  Description: Very fast caching module for WordPress. Once enabled, you must <a href="options-general.php?page=wp-super-cache/wp-cache.php">enable the cache</a>. Based on WP-Cache by <a href="http://mnm.uib.es/gallir/">Ricardo Galli Granada</a>.
6
- Version: 0.5.2
7
  Author: Donncha O Caoimh
8
  Author URI: http://ocaoimh.ie/
9
  */
@@ -116,13 +116,6 @@ function wp_cache_manager() {
116
  }
117
 
118
  if ( $valid_nonce ) {
119
- if( isset( $_POST[ 'wp_cache_hello_world' ] ) ) {
120
- $wp_cache_hello_world = (int)$_POST[ 'wp_cache_hello_world' ];
121
- } else {
122
- $wp_cache_hello_world = 0;
123
- }
124
- wp_cache_replace_line('^ *\$wp_cache_hello_world', '$wp_cache_hello_world = ' . (int)$wp_cache_hello_world . ";", $wp_cache_config_file);
125
-
126
  if( isset( $_POST[ 'wp_cache_status' ] ) ) {
127
  switch( $_POST[ 'wp_cache_status' ] ) {
128
  case 'all':
@@ -136,6 +129,12 @@ function wp_cache_manager() {
136
  wp_super_cache_disable();
137
  break;
138
  }
 
 
 
 
 
 
139
  }
140
  if( isset( $_POST[ 'cache_compression' ] ) && $_POST[ 'cache_compression' ] != $cache_compression ) {
141
  $cache_compression_changed = true;
3
  Plugin Name: WP Super Cache
4
  Plugin URI: http://ocaoimh.ie/wp-super-cache/
5
  Description: Very fast caching module for WordPress. Once enabled, you must <a href="options-general.php?page=wp-super-cache/wp-cache.php">enable the cache</a>. Based on WP-Cache by <a href="http://mnm.uib.es/gallir/">Ricardo Galli Granada</a>.
6
+ Version: 0.5.3
7
  Author: Donncha O Caoimh
8
  Author URI: http://ocaoimh.ie/
9
  */
116
  }
117
 
118
  if ( $valid_nonce ) {
 
 
 
 
 
 
 
119
  if( isset( $_POST[ 'wp_cache_status' ] ) ) {
120
  switch( $_POST[ 'wp_cache_status' ] ) {
121
  case 'all':
129
  wp_super_cache_disable();
130
  break;
131
  }
132
+ if( isset( $_POST[ 'wp_cache_hello_world' ] ) ) {
133
+ $wp_cache_hello_world = (int)$_POST[ 'wp_cache_hello_world' ];
134
+ } else {
135
+ $wp_cache_hello_world = 0;
136
+ }
137
+ wp_cache_replace_line('^ *\$wp_cache_hello_world', '$wp_cache_hello_world = ' . (int)$wp_cache_hello_world . ";", $wp_cache_config_file);
138
  }
139
  if( isset( $_POST[ 'cache_compression' ] ) && $_POST[ 'cache_compression' ] != $cache_compression ) {
140
  $cache_compression_changed = true;