Skip to content

Commit

Permalink
That'll teach me to trust a code snippet from php.net ... typo fix fr…
Browse files Browse the repository at this point in the history
…om last commit. relates to #3528

git-svn-id: https://develop.svn.wordpress.org/branches/2.0@4725 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
markjaquith committed Jan 12, 2007
1 parent e998e12 commit c50b66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/functions.php
Expand Up @@ -2228,7 +2228,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");
Expand Down

0 comments on commit c50b66e

Please sign in to comment.