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

git-svn-id: https://develop.svn.wordpress.org/trunk@4096 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-08-15 05:03:14 +00:00
parent 49abdc66f3
commit 07a4fa5c0b
1 changed files with 4 additions and 0 deletions

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) {