Changeset 10431
- Timestamp:
- 01/24/2009 01:01:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r10420 r10431 202 202 error_reporting(E_ALL); 203 203 } else { 204 if ( defined( 'E_DEPRECATED' ) ) // Introduced in PHP 5.3 205 error_reporting( (E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE) & E_STRICT); 206 else if ( defined( 'E_STRICT' ) ) // Introduced in PHP 5.0 not part of E_ALL 207 error_reporting( ( E_ALL ^ E_NOTICE ^ E_USER_NOTICE ) & E_STRICT); 204 // Unicode Extension is in PHP 6.0 only or do version check when this changes. 205 if ( version_compare( '6.0', phpversion(), '>' ) ) 206 error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE ^ E_STRICT ); 207 else if ( defined( 'E_DEPRECATED' ) ) // Introduced in PHP 5.3 208 error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE ); 208 209 else 209 210 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
Note: See TracChangeset
for help on using the changeset viewer.