Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-09-25 01:51:37 +00:00
parent e4070117c3
commit 5d6f4b5ca5

View File

@ -246,8 +246,12 @@ class WP_Query {
}
function set_404() {
$is_feed = $this->is_feed;
$this->init_query_flags();
$this->is_404 = true;
$this->is_404 = true;
$this->is_feed = $is_feed;
}
function get($query_var) {