Changeset 12685
- Timestamp:
- 01/10/2010 10:57:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r12671 r12685 203 203 204 204 // Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development. 205 if ( defined('WP_DEBUG') && WP_DEBUG ) { 205 if ( !defined('WP_DEBUG') ) 206 define( 'WP_DEBUG', false ); 207 208 if ( WP_DEBUG ) { 206 209 if ( defined('E_DEPRECATED') ) 207 210 error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); … … 217 220 } 218 221 } else { 219 define('WP_DEBUG', false);220 222 if ( defined('E_RECOVERABLE_ERROR') ) 221 223 error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR);
Note: See TracChangeset
for help on using the changeset viewer.