From bb5d95dd95cac09bde78b93b59635df8b584b28e Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 11 Feb 2005 06:42:07 +0000 Subject: [PATCH] Make sure is_feed() is true when feed files are referenced directly. http://mosquito.wordpress.org/view.php?id=726 git-svn-id: http://svn.automattic.com/wordpress/trunk@2272 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-atom.php | 1 + wp-blog-header.php | 10 +++------- wp-commentsrss2.php | 2 ++ wp-feed.php | 1 - wp-rdf.php | 1 + wp-rss.php | 1 + wp-rss2.php | 1 + 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/wp-atom.php b/wp-atom.php index e294ded7df..87e291d427 100644 --- a/wp-atom.php +++ b/wp-atom.php @@ -2,6 +2,7 @@ if (empty($feed)) { $blog = 1; + $feed = 'atom'; $doing_rss = 1; require('wp-blog-header.php'); } diff --git a/wp-blog-header.php b/wp-blog-header.php index 1ad47b0f9b..562514d2b9 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -101,10 +101,6 @@ for ($i=0; $i