Revert [6940]. Breaks atompub. see #5717

git-svn-id: http://svn.automattic.com/wordpress/trunk@6956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-21 20:47:15 +00:00
parent ed09992863
commit a739979c12

View File

@ -269,10 +269,6 @@ class WP {
function query_posts() { function query_posts() {
global $wp_the_query; global $wp_the_query;
$this->build_query_string(); $this->build_query_string();
if( $this->did_permalink && $this->query_vars['error'] == '404' ){
$wp_the_query->parse_query($query);
return;
}
$wp_the_query->query($this->query_vars); $wp_the_query->query($this->query_vars);
} }