Feeds for singular object queries should be comment feeds.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-08-30 03:34:17 +00:00
parent f5be1bb637
commit 79e681baf5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}