Changeset 11128 for trunk/wp-settings.php
- Timestamp:
- 04/29/2009 08:18:44 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r10937 r11128 202 202 error_reporting(E_ALL); 203 203 } else { 204 // Unicode Extension is in PHP 6.0 only or do version check when this changes. 205 if ( function_exists('unicode_decode') ) 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 ); 204 if ( defined('E_RECOVERABLE_ERROR') ) 205 error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR); 209 206 else 210 error_reporting(E_ ALL ^ E_NOTICE ^ E_USER_NOTICE);207 error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING); 211 208 } 212 209
Note: See TracChangeset
for help on using the changeset viewer.