s/WPDEBUG/WP_DEBUG/g Fixes #5033

git-svn-id: http://svn.automattic.com/wordpress/trunk@6181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2007-10-02 20:34:29 +00:00
parent 21c25b5566
commit f3e26c6d98
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ function timer_stop($display = 0, $precision = 3) { //if called like timer_stop(
}
timer_start();
// Add define('WPDEBUG',true); to wp-config.php to enable display of notices during development.
if (defined('WPDEBUG') and WPDEBUG == true) {
// Add define('WP_DEBUG',true); to wp-config.php to enable display of notices during development.
if (defined('WP_DEBUG') and WP_DEBUG == true) {
error_reporting(E_ALL);
} else {
error_reporting(E_ALL ^ E_NOTICE);