WP Super Cache - Version 0.5.1

Version Description

Download this release

Release Info

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

Code changes from version 0.5 to 0.5.1

Files changed (3) hide show
  1. Changelog.txt +21 -0
  2. readme.txt +1 -1
  3. wp-cache.php +7 -2
Changelog.txt CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  2007-11-26 11:11 donncha
2
 
3
  * readme.txt: Bump version
1
+ 2007-11-26 11:32 donncha
2
+
3
+ * wp-cache.php: It's WPLOCKDOWN
4
+
5
+ 2007-11-26 11:31 donncha
6
+
7
+ * Changelog.txt: Updated Changelog
8
+
9
+ 2007-11-26 11:30 donncha
10
+
11
+ * readme.txt, wp-cache.php: Bump the version number
12
+ Docs for lockdown
13
+
14
+ 2007-11-26 11:17 donncha
15
+
16
+ * wp-cache.php: Bumpy bumpy
17
+
18
+ 2007-11-26 11:12 donncha
19
+
20
+ * Changelog.txt: Updated Changelog
21
+
22
  2007-11-26 11:11 donncha
23
 
24
  * readme.txt: Bump version
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
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.1
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.4
7
  Author: Donncha O Caoimh
8
  Author URI: http://ocaoimh.ie/
9
  */
@@ -276,7 +276,12 @@ function wp_lock_down() {
276
  }
277
  ?><br /><fieldset style='border: 1px solid #aaa' class="options">
278
  <legend>Lock Down: <span style='color: #f00'><?php echo $wp_lock_down == '0' ? 'disabled' : 'enabled'; ?></span></legend>
279
- <p>Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files.</p><?php
 
 
 
 
 
280
  if( $wp_lock_down == '1' ) {
281
  ?><strong>WordPress is locked down. Super Cache static files will not be deleted when new comments are made.</strong><?php
282
  } else {
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.1
7
  Author: Donncha O Caoimh
8
  Author URI: http://ocaoimh.ie/
9
  */
276
  }
277
  ?><br /><fieldset style='border: 1px solid #aaa' class="options">
278
  <legend>Lock Down: <span style='color: #f00'><?php echo $wp_lock_down == '0' ? 'disabled' : 'enabled'; ?></span></legend>
279
+ <p>Prepare your server for an expected spike in traffic by enabling the lock down. When this is enabled, new comments on a post will not refresh the cached static files.</p>
280
+ <p>Developers: Make your plugin lock down compatible by checking the 'WPLOCKDOWN' constant. The following code will make sure your plugin respects the WPLOCKDOWN setting.
281
+ <blockquote><code>if( defined( 'WPLOCKDOWN' ) && constant( 'WPLOCKDOWN' ) ) { <br />
282
+ &nbsp;&nbsp;&nbsp;&nbsp;echo "Sorry. My blog is locked down. Updates will appear shortly";<br />
283
+ }</code></blockquote>
284
+ <?php
285
  if( $wp_lock_down == '1' ) {
286
  ?><strong>WordPress is locked down. Super Cache static files will not be deleted when new comments are made.</strong><?php
287
  } else {