mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
comments-rss2 fix from Mark J. fixes #3055
git-svn-id: http://svn.automattic.com/wordpress/trunk@4114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
182bc141e2
commit
2362c86ead
@ -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