mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
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:
parent
9ff83a8272
commit
ff8934e482
@ -1765,6 +1765,7 @@ class WP_Query {
|
||||
$search .= " AND ($wpdb->posts.post_password = '') ";
|
||||
}
|
||||
}
|
||||
$search = apply_filters('posts_search', $search, $this);
|
||||
|
||||
// Category stuff
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user