From 04e6ae9d7b0abe0c0e0a287a7c9dfb16c6889787 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 24 Aug 2006 23:32:47 +0000 Subject: [PATCH] comments-rss2 fix from Mark J. fixes #3055 git-svn-id: https://develop.svn.wordpress.org/trunk@4114 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 bd4f7fc1d0..9ba0ae173c 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -764,7 +764,7 @@ function do_feed() { $feed = 'rss2'; $for_comments = false; - if ( is_single() || (get_query_var('withcomments') == 1) ) { + if ( is_single() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) { $feed = 'rss2'; $for_comments = true; }