Make WordPress Core

Changeset 4725


Ignore:
Timestamp:
01/12/2007 09:46:29 PM (18 years ago)
Author:
markjaquith
Message:

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/functions.php

    r4724 r4725  
    22292229        $text = 'Gone';
    22302230
    2231     if ( version_compare(php_version(), '4.3.0', '>=') )
     2231    if ( version_compare(phpversion(), '4.3.0', '>=') )
    22322232        @header("HTTP/1.1 $header $text", true, $header);
    22332233    else
  • trunk/wp-includes/functions.php

    r4724 r4725  
    817817        $text = 'Gone';
    818818
    819     if ( version_compare(php_version(), '4.3.0', '>=') )
     819    if ( version_compare(phpversion(), '4.3.0', '>=') )
    820820        @header("HTTP/1.1 $header $text", true, $header);
    821821    else
Note: See TracChangeset for help on using the changeset viewer.