From 79e681baf5b41154ee38db6339484c7c08eb74c4 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 30 Aug 2006 03:34:17 +0000 Subject: [PATCH] Feeds for singular object queries should be comment feeds. git-svn-id: http://svn.automattic.com/wordpress/trunk@4127 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b9e69ca15e..f7cf0d003b 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -769,7 +769,7 @@ function do_feed() { $feed = 'rss2'; $for_comments = false; - if ( is_single() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) { + if ( is_singular() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) { $feed = 'rss2'; $for_comments = true; }