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:
parent
9d74c95ed8
commit
153659240c
@ -1765,6 +1765,7 @@ class WP_Query {
|
|||||||
$search .= " AND ($wpdb->posts.post_password = '') ";
|
$search .= " AND ($wpdb->posts.post_password = '') ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$search = apply_filters('posts_search', $search, $this);
|
||||||
|
|
||||||
// Category stuff
|
// Category stuff
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user