diff --git a/readme.txt b/readme.txt index 9767415..a9cb349 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: cadeyrn, ameir, haroldkyle, plescheff, dkcwd, IgorCode 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: 4.0 -Stable tag: 1.7.3 +Tested up to: 4.1 +Stable tag: 1.7.4 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -117,6 +117,14 @@ Version numbering logic: * every .B version indicates new features. * every ..C indicates bugfixes for A.B version. += 1.7.4 = +*2014-12-17* + +What's changed: + +* localhost cache forced exclude removed; instead please use `define('WP_CACHE', $_SERVER['REMOTE_ADDR'] !== '127.0.0.1');` instead as pointed out by [plescheff](https://github.com/petermolnar/wp-ffpc/commit/eb4942005273822aec8c2da09f0e763807f94f9c#commitcomment-9006031) if required +* compatibility tested up to WordPress 4.1 + = 1.7.3 = *2014-12-17* diff --git a/wp-ffpc-acache.php b/wp-ffpc-acache.php index 122a167..1b3d531 100644 --- a/wp-ffpc-acache.php +++ b/wp-ffpc-acache.php @@ -3,10 +3,6 @@ * advanced cache worker of WordPress plugin WP-FFPC */ -/* ignore localhost */ -if ( $_SERVER['SERVER_ADDR'] == $_SERVER['REMOTE_ADDR'] || $_SERVER['REMOTE_ADDR'] == '127.0.0.1' ) - return false; - /* check for WP cache enabled*/ if ( !WP_CACHE ) return false; diff --git a/wp-ffpc.php b/wp-ffpc.php index 04f17c4..6d8b814 100644 --- a/wp-ffpc.php +++ b/wp-ffpc.php @@ -3,7 +3,7 @@ Plugin Name: WP-FFPC Plugin URI: https://github.com/petermolnar/wp-ffpc Description: WordPress in-memory full page cache plugin -Version: 1.7.3 +Version: 1.7.4 Author: Peter Molnar Author URI: http://petermolnar.eu/ License: GPLv3 @@ -58,6 +58,6 @@ $wp_ffpc_defaults = array ( 'pingback_header' => false, ); -$wp_ffpc = new WP_FFPC ( 'wp-ffpc', '1.7.3', 'WP-FFPC', $wp_ffpc_defaults, 'PeterMolnar_WordPressPlugins_wp-ffpc_HU' , 'WP-FFPC' , 'FA3NT7XDVHPWU' ); +$wp_ffpc = new WP_FFPC ( 'wp-ffpc', '1.7.4', 'WP-FFPC', $wp_ffpc_defaults, 'PeterMolnar_WordPressPlugins_wp-ffpc_HU' , 'WP-FFPC' , 'FA3NT7XDVHPWU' ); ?>