comments-rss2 fix from Mark J. fixes #3055
git-svn-id: https://develop.svn.wordpress.org/trunk@4114 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
88cd96ff72
commit
04e6ae9d7b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user