This commit is contained in:
Peter Molnar 2014-04-09 21:34:14 +01:00
parent 6cd27fe498
commit 3a96ad631e
5 changed files with 17 additions and 12 deletions

View file

@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
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
@ -89,6 +89,17 @@ Please post feature requests to [WP-FFPC feature request topic](http://wordpress
== 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*

@ -1 +1 @@
Subproject commit 3f1571dac3eeea09b0c6cfadb9616bb301d3bcf5
Subproject commit 7d968c390813664514be669a055a6cf9dddf3c16

View file

@ -308,7 +308,7 @@ function wp_ffpc_callback( $buffer ) {
$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 {

View file

@ -183,7 +183,8 @@ if ( ! class_exists( 'WP_FFPC' ) ) {
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' ) {
@ -357,13 +358,6 @@ if ( ! class_exists( 'WP_FFPC' ) ) {
/* 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
*/

View file

@ -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