From 6fad7935879e37482192c1454536f56e654bfe9c Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 6 Jan 2007 08:22:12 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b3ed5b5291..d06be2f3f6 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -816,10 +816,10 @@ function status_header( $header ) { elseif ( 410 == $header ) $text = 'Gone'; - if ( substr(php_sapi_name(), 0, 3) == 'cgi' ) +// if ( substr(php_sapi_name(), 0, 3) == 'cgi' ) @header("HTTP/1.1 $header $text"); - else - @header("Status: $header $text"); +// else +// @header("Status: $header $text"); } function nocache_headers() {