Ticket #5033: const_wpdebug.diff
| File const_wpdebug.diff, 597 bytes (added by ozh, 6 years ago) |
|---|
-
wp-settings.php
95 95 } 96 96 timer_start(); 97 97 98 // Change to E_ALL for development/debugging 99 error_reporting(E_ALL ^ E_NOTICE); 98 // define('WPDEBUG',true); in wp-config.php for development notices 99 if (defined('WPDEBUG') and WPDEBUG == true) { 100 error_reporting(E_ALL); 101 } else { 102 error_reporting(E_ALL ^ E_NOTICE); 103 } 100 104 101 105 // For an advanced caching plugin to use, static because you would only want one 102 106 if ( defined('WP_CACHE') )