Feeds for singular object queries should be comment feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4127 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
be534f0d46
commit
0f6f0b20ae
@ -769,7 +769,7 @@ function do_feed() {
|
|||||||
$feed = 'rss2';
|
$feed = 'rss2';
|
||||||
|
|
||||||
$for_comments = false;
|
$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';
|
$feed = 'rss2';
|
||||||
$for_comments = true;
|
$for_comments = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user