diff --git a/README.md b/README.md index 7742d80..6548b69 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ * Contributors: Stefan Kalscheuer * Requires at least: 3.9 * Tested up to: 4.6 -* Stable tag: 1.2.0 +* Stable tag: 1.2.1 * License: GPLv3 or later * License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -32,8 +32,8 @@ The plugin is capable of handling multisite installations. * Goto _Settings_ -> _Statify Blacklist_ to configure the plugin ### Requirements ### -* PHP 5.2.4 -* WordPress 3.9 +* PHP 5.2.4 or above +* WordPress 3.9 or above * Statify plugin installed and activated (tested up to 1.4.3) ## Frequently Asked Questions ## @@ -64,6 +64,10 @@ If you like to have this feature, please leave a feature request in GitHub or th 1. Statify Blacklist settings page ## Changelog ## + +### 1.2.1 / 10.10.2016 ### +* Fix live filter configuration check + ### 1.2.0 / 29.08.2016 ### * Switched from `in_array()` to faster `isset()` for referer checking * Optional cron execiton implemented diff --git a/inc/statifyblacklist.class.php b/inc/statifyblacklist.class.php index ecaaee6..d97f445 100644 --- a/inc/statifyblacklist.class.php +++ b/inc/statifyblacklist.class.php @@ -38,7 +38,7 @@ class StatifyBlacklist { * Class constructor * * @since 1.0.0 - * @changed 1.1.2 + * @changed 1.2.1 */ public function __construct() { /* Skip on autosave or AJAX */ @@ -53,7 +53,7 @@ class StatifyBlacklist { self::$multisite = ( is_multisite() && array_key_exists( STATIFYBLACKLIST_BASE, (array) get_site_option( 'active_sitewide_plugins' ) ) ); /* Add Filter to statify hook if enabled */ - if ( self::$_options['active_referer'] != 1 ) { + if ( self::$_options['active_referer'] != 0 ) { add_filter( 'statify_skip_tracking', array( 'StatifyBlacklist', 'apply_blacklist_filter' ) ); } diff --git a/statify-blacklist.php b/statify-blacklist.php index 99bfd50..eaf5ea2 100644 --- a/statify-blacklist.php +++ b/statify-blacklist.php @@ -8,7 +8,7 @@ Author: Stefan Kalscheuer Author URI: https://stklcode.de Plugin URI: https://wordpress.org/plugins/statify-blacklist License: GPLv3 or later -Version: 1.2.0 +Version: 1.2.1 */ /* Quit */