WordPress.org

Make WordPress Core

Changeset 18538


Ignore:
Timestamp:
08/11/11 23:45:02 (3 years ago)
Author:
markjaquith
Message:

Direct rdf/rss redirects, to save a double redirect. props westi. see #4967

File:
1 edited

Legend:

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

    r17929 r18538  
    15011501        // Default Feed rules - These are require to allow for the direct access files to work with permalink structure starting with %category% 
    15021502        $default_feeds = array( '.*wp-atom.php$'    =>  $this->index . '?feed=atom', 
    1503                                 '.*wp-rdf.php$'     =>  $this->index . '?feed=rdf', 
    1504                                 '.*wp-rss.php$'     =>  $this->index . '?feed=rss', 
     1503                                '.*wp-rdf.php$'     =>  $this->index . '?feed=rss2', 
     1504                                '.*wp-rss.php$'     =>  $this->index . '?feed=rss2', 
    15051505                                '.*wp-rss2.php$'    =>  $this->index . '?feed=rss2', 
    15061506                                '.*wp-feed.php$'    =>  $this->index . '?feed=feed', 
Note: See TracChangeset for help on using the changeset viewer.