aggregator users will love me for this, a GMT-compliant Last-Modified header ;)

git-svn-id: http://svn.automattic.com/wordpress/trunk@1023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-03-29 04:15:59 +00:00
parent 89d3d0e618
commit 97d8381691
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ if (!isset($doing_rss) || !$doing_rss) {
@header ('X-Pingback: '. get_settings('siteurl') . '/xmlrpc.php');
} else {
// We're showing a feed, so WP is indeed the only thing that last changed
@header('Last Modified: ' . gmdate(get_lastpostmodified()));
@header('Last Modified: ' . mysql2date("D, d M Y H:i:s", get_lastpostmodified('GMT')).' GMT');
@header ('X-Pingback: ' . get_settings('siteurl') . '/xmlrpc.php');
}