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

git-svn-id: https://develop.svn.wordpress.org/trunk@1023 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-03-29 04:15:59 +00:00
parent ad6e954ab9
commit f2c646a82e
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');
}