mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: https://develop.svn.wordpress.org/trunk@4483 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -815,7 +815,7 @@ function do_feed() {
|
||||
$feed = 'rss2';
|
||||
|
||||
$for_comments = false;
|
||||
if ( is_singular() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) {
|
||||
if ( 1 != get_query_var('withoutcomments') && ( is_singular() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) ) {
|
||||
$feed = 'rss2';
|
||||
$for_comments = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user