From 37a2a8927c21b66b5911ce7839585a9e6741b682 Mon Sep 17 00:00:00 2001 From: Nikita Sinelnikov Date: Thu, 16 Sep 2021 15:23:09 +0300 Subject: [PATCH] - fixed restriction logic with post title hook; --- includes/core/class-access.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/core/class-access.php b/includes/core/class-access.php index 58471e3c..ec137246 100644 --- a/includes/core/class-access.php +++ b/includes/core/class-access.php @@ -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 ); }