diff --git a/wp-includes/query.php b/wp-includes/query.php index 0683100ed8..f0ca462bf6 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -1765,6 +1765,7 @@ class WP_Query { $search .= " AND ($wpdb->posts.post_password = '') "; } } + $search = apply_filters('posts_search', $search, $this); // Category stuff