From 97d8381691363682930df39c34bf51927c5e02e6 Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Mon, 29 Mar 2004 04:15:59 +0000 Subject: [PATCH] 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 --- wp-blog-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index db336da5fa..2b62f381c8 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -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'); }