WordPress.org

Make WordPress Core

Ticket #3019: retain-is-feed.diff

File retain-is-feed.diff, 379 bytes (added by skeltoac, 12 years ago)
  • wp-includes/query.php

     
    489489        }
    490490
    491491        function set_404() {
     492                $is_feed = is_feed();
     493
    492494                $this->init_query_flags();
    493495                $this->is_404 = true;
     496
     497                $this->is_feed = $is_feed;
    494498        }
    495499
    496500        function get($query_var) {