stklcode / statify-blacklist

Filter extension for the Statify WordPress plugin
https://wordpress.org/plugins/statify-blacklist/
GNU General Public License v2.0
2 stars 1 forks source link

Live filter configuration inverted #5

Closed stklcode closed 7 years ago

stklcode commented 7 years ago

Due to an added check in a previous commit that should disable the live filter completely if not activated, the condition is inverted.

if ( self::$_options['active_referer'] != 1 ) {
    add_filter( 'statify_skip_tracking', array( 'StatifyBlacklist', 'apply_blacklist_filter' ) );
}

Obviously it should be != 0, seems to be copy&paste mistake from the filter method itself.