mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-31 15:59:44 +01:00
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:
parent
89d3d0e618
commit
97d8381691
@ -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