Make WordPress Core


Ignore:
Timestamp:
01/22/2009 09:07:35 PM (16 years ago)
Author:
westi
Message:

Use & not for E_STRICT on PHP 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-settings.php

    r10406 r10409  
    205205        error_reporting(E_ALL ^ E_STRICT ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE);
    206206    else if ( defined( 'E_STRICT' ) )
    207         error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE ^ E_USER_NOTICE);
     207        error_reporting(E_ALL & E_STRICT ^ E_NOTICE ^ E_USER_NOTICE);
    208208    else
    209209        error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
Note: See TracChangeset for help on using the changeset viewer.