posts_search filter. Props skeltoac. see #10667

git-svn-id: http://svn.automattic.com/wordpress/trunk@13037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-02-09 16:38:05 +00:00
parent 9ff83a8272
commit ff8934e482
1 changed files with 1 additions and 0 deletions

View File

@ -1765,6 +1765,7 @@ class WP_Query {
$search .= " AND ($wpdb->posts.post_password = '') ";
}
}
$search = apply_filters('posts_search', $search, $this);
// Category stuff