git-svn-id: http://svn.automattic.com/wordpress/trunk@2579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-05-03 04:32:40 +00:00
parent 48d0ec3c43
commit f49bca8131
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ if ( !empty($error) && '404' == $error ) {
else $client_etag = false;
if ( $client_last_modified && $client_etag ) {
if ( (strtotime($client_last_modified) <= strtotime($wp_last_modified)) || ($client_etag == $wp_etag) ) {
if ( (strtotime($client_last_modified) >= strtotime($wp_last_modified)) || ($client_etag == $wp_etag) ) {
if ( preg_match('/cgi/',php_sapi_name()) ) {
header('Status: 304 Not Modified');
echo "\r\n\r\n";