Make WordPress Core


Ignore:
Timestamp:
01/24/2009 01:20:59 PM (18 years ago)
Author:
westi
Message:

Use the correct PHP6 check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r10431 r10433  
    203203} else {
    204204        // Unicode Extension is in PHP 6.0 only or do version check when this changes.
    205         if ( version_compare( '6.0', phpversion(), '>' ) )     
     205        if ( function_exists('unicode_decode') )
    206206                error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE ^ E_STRICT );
    207207        else if ( defined( 'E_DEPRECATED' ) ) // Introduced in PHP 5.3
Note: See TracChangeset for help on using the changeset viewer.