summaryrefslogtreecommitdiffstats
path: root/wp-includes/query.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/query.php')
-rw-r--r--wp-includes/query.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/query.php b/wp-includes/query.php
index f160173..f94c79f 100644
--- a/wp-includes/query.php
+++ b/wp-includes/query.php
@@ -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) {