- fixed restriction logic with post title hook;

This commit is contained in:
Nikita Sinelnikov
2021-09-16 15:23:09 +03:00
parent b3cf26d276
commit 37a2a8927c
-1
View File
@@ -127,7 +127,6 @@ if ( ! class_exists( 'um\core\Access' ) ) {
remove_action( 'pre_get_posts', array( &$this, 'exclude_posts' ), 99 );
remove_filter( 'posts_where', array( &$this, 'exclude_posts_where' ), 10 );
remove_filter( 'wp_count_posts', array( &$this, 'custom_count_posts_handler' ), 99 );
remove_filter( 'the_title', array( &$this, 'filter_restricted_post_title' ), 10 );
}