1.3.2
Peter Molnar hello@petermolnar.eu
Wed, 09 Apr 2014 21:34:14 +0100
4 files changed,
16 insertions(+),
11 deletions(-)
M
readme.txt
→
readme.txt
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XU3DG7LLA76WC
Tags: cache, page cache, full page cache, nginx, memcached, apc, speed Requires at least: 3.0 Tested up to: 3.9 -Stable tag: 1.3.1 +Stable tag: 1.3.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html@@ -88,6 +88,17 @@ 4. memcached servers settings
5. NGiNX example == Changelog == + += 1.3.2 = +*2014-04-09* + +What's fixed: + +* 1.3.1 was a quickfix for an uncommitted change required for 1.3 to work. +* removed PHP warning in case WP_CACHE was off ( see https://github.com/petermolnar/wp-ffpc/issues/14 ) +* PHP notices in log from [Harold Kyle](https://github.com/haroldkyle "Harold Kyle") +* ms is really second + = 1.3 = *2014-04-04*
M
wp-ffpc-acache.php
→
wp-ffpc-acache.php
@@ -308,7 +308,7 @@
$prefix_data = $wp_ffpc_backend->key ( $wp_ffpc_config['prefix_data'] ); $wp_ffpc_backend->set ( $prefix_data , $buffer ); - if ( $meta['status'] == 404 ) { + if ( !empty( $meta['status'] ) && $meta['status'] == 404 ) { header("HTTP/1.1 404 Not Found"); } else {
M
wp-ffpc-class.php
→
wp-ffpc-class.php
@@ -183,7 +183,8 @@ add_action( 'deleted_post', array( &$this->backend , 'clear' ), 0 );
add_action( 'edit_post', array( &$this->backend , 'clear' ), 0 ); /* add filter for catching canonical redirects */ - add_filter('redirect_canonical', 'wp_ffpc_redirect_callback', 10, 2); + if ( ! WP_CACHE ) + add_filter('redirect_canonical', 'wp_ffpc_redirect_callback', 10, 2); /* clean up schedule if needed */ if ( !isset( $this->options['precache_schedule'] ) || $this->options['precache_schedule'] == 'null' ) {@@ -356,13 +357,6 @@ <?php
/* display donation form */ $this->plugin_donation_form(); - - /** - * if options were saved, display saved message - */ - if ( ! empty( $this->broadcast_message ) ) { ?> - <div class="updated"><?php echo $this->broadcast_message; ?></div> - <?php } /** * if options were saved, display saved message
M
wp-ffpc.php
→
wp-ffpc.php
@@ -3,7 +3,7 @@ /*
Plugin Name: WP-FFPC Plugin URI: http://petermolnar.eu/wordpress/wp-ffpc Description: WordPress cache plugin for memcached & nginx - unbeatable speed -Version: 1.3.1 +Version: 1.3.2 Author: Peter Molnar <hello@petermolnar.eu> Author URI: http://petermolnar.eu/ License: GPLv3