WordPress.org

Make WordPress Core

Changeset 4096


Ignore:
Timestamp:
08/15/2006 05:03:14 AM (15 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r4023 r4096  
    490490
    491491    function set_404() {
     492        $is_feed = $this->is_feed;
     493
    492494        $this->init_query_flags();
    493495        $this->is_404 = true;
     496
     497        $this->is_feed = $is_feed;
    494498    }
    495499
Note: See TracChangeset for help on using the changeset viewer.