That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528

git-svn-id: http://svn.automattic.com/wordpress/trunk@4725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-01-12 21:46:29 +00:00
parent de879172d7
commit ddf32533e6
1 changed files with 1 additions and 1 deletions

View File

@ -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");