mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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: https://develop.svn.wordpress.org/trunk@10617 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b5e8ea9436
commit
cc6baace8f
@ -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
Block a user