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:
parent
e4070117c3
commit
5d6f4b5ca5
|
@ -246,8 +246,12 @@ class WP_Query {
|
||||||
}
|
}
|
||||||
|
|
||||||
function set_404() {
|
function set_404() {
|
||||||
|
$is_feed = $this->is_feed;
|
||||||
|
|
||||||
$this->init_query_flags();
|
$this->init_query_flags();
|
||||||
$this->is_404 = true;
|
$this->is_404 = true;
|
||||||
|
|
||||||
|
$this->is_feed = $is_feed;
|
||||||
}
|
}
|
||||||
|
|
||||||
function get($query_var) {
|
function get($query_var) {
|
||||||
|
|
Loading…
Reference in New Issue