Remove version check against PHP 4.3.0 as this is the minimum version for WordPress. Fixes #9204 for trunk prop filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@10617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3b94be427f
commit
5c4f21c4fe
|
@ -1456,10 +1456,7 @@ function status_header( $header ) {
|
|||
if ( function_exists( 'apply_filters' ) )
|
||||
$status_header = apply_filters( 'status_header', $status_header, $header, $text, $protocol );
|
||||
|
||||
if ( version_compare( phpversion(), '4.3.0', '>=' ) )
|
||||
return @header( $status_header, true, $header );
|
||||
else
|
||||
return @header( $status_header );
|
||||
return @header( $status_header, true, $header );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue