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:
Matt Mullenweg 2004-06-19 17:34:13 +00:00
parent 0755d0c706
commit 68a0c70498
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');