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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2011-08-11 23:45:02 +00:00
parent 7689657c90
commit 9de72e9bfd
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 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', $default_feeds = array( '.*wp-atom.php$' => $this->index . '?feed=atom',
'.*wp-rdf.php$' => $this->index . '?feed=rdf', '.*wp-rdf.php$' => $this->index . '?feed=rss2',
'.*wp-rss.php$' => $this->index . '?feed=rss', '.*wp-rss.php$' => $this->index . '?feed=rss2',
'.*wp-rss2.php$' => $this->index . '?feed=rss2', '.*wp-rss2.php$' => $this->index . '?feed=rss2',
'.*wp-feed.php$' => $this->index . '?feed=feed', '.*wp-feed.php$' => $this->index . '?feed=feed',
'.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1'); '.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1');