burn in Hades, status_header(), destroyer of souls. fixes #3528

git-svn-id: https://develop.svn.wordpress.org/trunk@4684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-01-06 08:22:12 +00:00
parent ac7d4b46cc
commit 6fad793587
1 changed files with 3 additions and 3 deletions

View File

@ -816,10 +816,10 @@ function status_header( $header ) {
elseif ( 410 == $header ) elseif ( 410 == $header )
$text = 'Gone'; $text = 'Gone';
if ( substr(php_sapi_name(), 0, 3) == 'cgi' ) // if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
@header("HTTP/1.1 $header $text"); @header("HTTP/1.1 $header $text");
else // else
@header("Status: $header $text"); // @header("Status: $header $text");
} }
function nocache_headers() { function nocache_headers() {