diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 666d46192c..686dfbd411 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2062,14 +2062,8 @@ function status_header( $header ) { elseif ( 410 == $header ) $text = 'Gone'; - if ( preg_match('/cgi/',php_sapi_name()) ) { - @header("Status: $header $text"); - } else { - if ( version_compare(phpversion(), '4.3.0', '>=') ) - @header($text, TRUE, $header); - else - @header("HTTP/1.x $header $text"); - } + @header("HTTP/1.1 $header $text"); + @header("Status: $header $text"); } function nocache_headers() {