mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
posts_search filter. Props skeltoac. see #10667
git-svn-id: https://develop.svn.wordpress.org/trunk@13037 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1765,6 +1765,7 @@ class WP_Query {
|
||||
$search .= " AND ($wpdb->posts.post_password = '') ";
|
||||
}
|
||||
}
|
||||
$search = apply_filters('posts_search', $search, $this);
|
||||
|
||||
// Category stuff
|
||||
|
||||
|
||||
Reference in New Issue
Block a user