Ticket #10202: 10202.diff
File 10202.diff, 821 bytes (added by , 16 years ago) |
---|
-
wp-settings.php
201 201 timer_start(); 202 202 203 203 // Add define('WP_DEBUG',true); to wp-config.php to enable display of notices during development. 204 if ( defined('WP_DEBUG') and WP_DEBUG == true) {204 if ( defined('WP_DEBUG') && WP_DEBUG == true ) { 205 205 error_reporting(E_ALL); 206 if ( ! defined('WP_DEBUG_DISPLAY') || WP_DEBUG_DISPLAY == true ) 207 ini_set('display_errors', 1); 208 if ( defined('WP_DEBUG_LOG') && WP_DEBUG_LOG == true ) { 209 ini_set('log_errors', 1); 210 ini_set('error_log', ABSPATH . 'debug.log'); 211 } 206 212 } else { 207 213 if ( defined('E_RECOVERABLE_ERROR') ) 208 214 error_reporting(E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR);