mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-01 00:10:36 +01:00
Last-modified should not have a space in it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5a93597679
commit
54ec3fd948
@ -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
|
// 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_last_modified = mysql2date('D, d M Y H:i:s', get_lastpostmodified('GMT'), 0).' GMT';
|
||||||
$wp_etag = '"'.md5($wp_last_modified).'"';
|
$wp_etag = '"'.md5($wp_last_modified).'"';
|
||||||
@header('Last Modified: '.$wp_last_modified);
|
@header('Last-Modified: '.$wp_last_modified);
|
||||||
@header('ETag: '.$wp_etag);
|
@header('ETag: '.$wp_etag);
|
||||||
@header ('X-Pingback: ' . get_settings('siteurl') . '/xmlrpc.php');
|
@header ('X-Pingback: ' . get_settings('siteurl') . '/xmlrpc.php');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user