From 0f6f0b20aeaa2a0713bc3765703f9bca514f14e8 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 30 Aug 2006 03:34:17 +0000 Subject: [PATCH] Feeds for singular object queries should be comment feeds. git-svn-id: https://develop.svn.wordpress.org/trunk@4127 602fd350-edb4-49c9-b593-d223f7449a82 --- 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; }