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

git-svn-id: https://develop.svn.wordpress.org/trunk@18538 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2011-08-11 23:45:02 +00:00
parent 47bf346a9f
commit 681494971f
1 changed files with 2 additions and 2 deletions

View File

@ -1500,8 +1500,8 @@ class WP_Rewrite {
// Default Feed rules - These are require to allow for the direct access files to work with permalink structure starting with %category%
$default_feeds = array( '.*wp-atom.php$' => $this->index . '?feed=atom',
'.*wp-rdf.php$' => $this->index . '?feed=rdf',
'.*wp-rss.php$' => $this->index . '?feed=rss',
'.*wp-rdf.php$' => $this->index . '?feed=rss2',
'.*wp-rss.php$' => $this->index . '?feed=rss2',
'.*wp-rss2.php$' => $this->index . '?feed=rss2',
'.*wp-feed.php$' => $this->index . '?feed=feed',
'.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1');