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:
parent
ad6e954ab9
commit
f2c646a82e
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user