From 5c6d2b30c527c883a8766c5599ac769d12c58344 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Tue, 2 Oct 2007 20:34:29 +0000 Subject: [PATCH] s/WPDEBUG/WP_DEBUG/g Fixes #5033 git-svn-id: https://develop.svn.wordpress.org/trunk@6181 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-settings.php b/wp-settings.php index ebd979c421..88146d6be1 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -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);