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:
Ryan Boren
2006-11-18 20:46:43 +00:00
parent 94e045fa69
commit 0e188c6859
2 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -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;
}