mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Make sure is_feed() is true when feed files are referenced directly. http://mosquito.wordpress.org/view.php?id=726
git-svn-id: https://develop.svn.wordpress.org/trunk@2272 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -9,7 +9,6 @@ if (empty($doing_rss)) {
|
||||
$feed = preg_replace('/^_+/', '', $feed);
|
||||
|
||||
if ($feed == '' || $feed == 'feed') {
|
||||
// TODO: Get default feed from options DB.
|
||||
$feed = 'rss2';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user