Index: wp-includes/query.php
===================================================================
--- wp-includes/query.php	(revision 11819)
+++ wp-includes/query.php	(working copy)
@@ -1596,7 +1596,7 @@
 			if ( $this->is_search )
 				$q['post_type'] = 'any';
 			else
-				$q['post_type'] = 'post';
+				$q['post_type'] = '';
 		}
 		$post_type = $q['post_type'];
 		if ( !isset($q['posts_per_page']) || $q['posts_per_page'] == 0 )
@@ -2078,7 +2078,7 @@
 			$where .= " AND $wpdb->posts.post_type = 'attachment'";
 		} elseif ($this->is_page) {
 			$where .= " AND $wpdb->posts.post_type = 'page'";
-		} elseif ($this->is_single) {
+		} else {
 			$where .= " AND $wpdb->posts.post_type = 'post'";
 		}
 
