mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Remove unused variable. props kawauso, see #18364.
git-svn-id: https://develop.svn.wordpress.org/trunk@19216 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2386,7 +2386,6 @@ class WP_Query {
|
||||
}
|
||||
|
||||
if ( 'any' == $post_type ) {
|
||||
$exclude_post_types = '';
|
||||
$in_search_post_types = get_post_types( array('exclude_from_search' => false) );
|
||||
if ( ! empty( $in_search_post_types ) )
|
||||
$where .= $wpdb->prepare(" AND $wpdb->posts.post_type IN ('" . join("', '", $in_search_post_types ) . "')");
|
||||
|
||||
Reference in New Issue
Block a user