From 153659240c29aedf2383ad88ec33b59b4c96b541 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 9 Feb 2010 16:38:05 +0000 Subject: [PATCH] posts_search filter. Props skeltoac. see #10667 git-svn-id: https://develop.svn.wordpress.org/trunk@13037 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/query.php | 1 + 1 file changed, 1 insertion(+) 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