From e568aac7fa48bd9d01e7074237c20a3dc6e60f96 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 23 Jan 2009 13:18:50 +0000 Subject: [PATCH] More Error Reporting stuff. See # 8701 props Denis-de-Bernardy git-svn-id: https://develop.svn.wordpress.org/trunk@10418 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index 209d136ec5..db22b5854e 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -204,7 +204,7 @@ if (defined('WP_DEBUG') and WP_DEBUG == true) { if ( defined( 'E_DEPRECATED' ) ) error_reporting(E_ALL ^ E_STRICT ^ E_DEPRECATED ^ E_NOTICE ^ E_USER_NOTICE); else if ( defined( 'E_STRICT' ) ) - error_reporting(E_ALL & E_STRICT ^ E_NOTICE ^ E_USER_NOTICE); + error_reporting( ( E_ALL ^ E_NOTICE ^ E_USER_NOTICE ) & E_STRICT); else error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); }