From ff91fefd30e2ecedf807b22c582c80c719859c76 Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 22 Jan 2009 21:04:48 +0000 Subject: [PATCH] Use & not ^ for E_STRICT on PHP 5 git-svn-id: http://svn.automattic.com/wordpress/trunk@10407 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index 168d2f7e8..209d136ec 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_STRICT ^ E_NOTICE ^ E_USER_NOTICE); else error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); }