Remove unused variable. props kawauso, see #18364.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-11-08 17:53:52 +00:00
parent 25f7c9a446
commit 964b620f7b
1 changed files with 0 additions and 1 deletions

View File

@ -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 ) . "')");