That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528
git-svn-id: https://develop.svn.wordpress.org/trunk@4725 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
61133b735f
commit
6dde066c14
@ -816,7 +816,7 @@ function status_header( $header ) {
|
||||
elseif ( 410 == $header )
|
||||
$text = 'Gone';
|
||||
|
||||
if ( version_compare(php_version(), '4.3.0', '>=') )
|
||||
if ( version_compare(phpversion(), '4.3.0', '>=') )
|
||||
@header("HTTP/1.1 $header $text", true, $header);
|
||||
else
|
||||
@header("HTTP/1.1 $header $text");
|
||||
|
Loading…
Reference in New Issue
Block a user