Last-modified should not have a space in it.
git-svn-id: https://develop.svn.wordpress.org/trunk@1442 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0755d0c706
commit
68a0c70498
@ -92,7 +92,7 @@ if (!isset($doing_rss) || !$doing_rss) {
|
||||
// We're showing a feed, so WP is indeed the only thing that last changed
|
||||
$wp_last_modified = mysql2date('D, d M Y H:i:s', get_lastpostmodified('GMT'), 0).' GMT';
|
||||
$wp_etag = '"'.md5($wp_last_modified).'"';
|
||||
@header('Last Modified: '.$wp_last_modified);
|
||||
@header('Last-Modified: '.$wp_last_modified);
|
||||
@header('ETag: '.$wp_etag);
|
||||
@header ('X-Pingback: ' . get_settings('siteurl') . '/xmlrpc.php');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user