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:
saxmatt 2004-06-19 17:34:13 +00:00
parent 5a93597679
commit 54ec3fd948
1 changed files with 1 additions and 1 deletions

View File

@ -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');