diff --git a/readme.txt b/readme.txt index aee4114..f00fc42 100644 --- a/readme.txt +++ b/readme.txt @@ -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* diff --git a/wp-common b/wp-common index 3f1571d..7d968c3 160000 --- a/wp-common +++ b/wp-common @@ -1 +1 @@ -Subproject commit 3f1571dac3eeea09b0c6cfadb9616bb301d3bcf5 +Subproject commit 7d968c390813664514be669a055a6cf9dddf3c16 diff --git a/wp-ffpc-acache.php b/wp-ffpc-acache.php index e886d9b..024d253 100644 --- a/wp-ffpc-acache.php +++ b/wp-ffpc-acache.php @@ -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 { diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index 77cce92..e7760d7 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -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 ) ) { ?> -
broadcast_message; ?>
- Author URI: http://petermolnar.eu/ License: GPLv3