Ticket #137: comments-feed-last-modified.patch
| File comments-feed-last-modified.patch, 645 bytes (added by chrisdolan, 6 years ago) |
|---|
-
wp-blog-header.php
118 118 @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 119 119 } else { 120 120 // We're showing a feed, so WP is indeed the only thing that last changed 121 if ( $withcomments )121 if ( $withcomments || $feed == 'comments-rss2' ) 122 122 $wp_last_modified = mysql2date('D, d M Y H:i:s', get_lastcommentmodified('GMT'), 0).' GMT'; 123 123 else 124 124 $wp_last_modified = mysql2date('D, d M Y H:i:s', get_lastpostmodified('GMT'), 0).' GMT';
