git-svn-id: http://svn.automattic.com/wordpress/trunk@6179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6d2459f689
commit
2bcddfc042
|
@ -95,8 +95,12 @@ function timer_stop($display = 0, $precision = 3) { //if called like timer_stop(
|
||||||
}
|
}
|
||||||
timer_start();
|
timer_start();
|
||||||
|
|
||||||
// Change to E_ALL for development/debugging
|
// Add define('WPDEBUG',true); to wp-config.php to enable display of notices during development.
|
||||||
error_reporting(E_ALL ^ E_NOTICE);
|
if (defined('WPDEBUG') and WPDEBUG == true) {
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
} else {
|
||||||
|
error_reporting(E_ALL ^ E_NOTICE);
|
||||||
|
}
|
||||||
|
|
||||||
// For an advanced caching plugin to use, static because you would only want one
|
// For an advanced caching plugin to use, static because you would only want one
|
||||||
if ( defined('WP_CACHE') )
|
if ( defined('WP_CACHE') )
|
||||||
|
|
Loading…
Reference in New Issue