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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-08-15 05:03:14 +00:00
parent 6ba1e4dd56
commit 1d0af8cbc2

View File

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