Use & not ^ for E_STRICT on PHP 5
git-svn-id: https://develop.svn.wordpress.org/trunk@10407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e0ab3314ad
commit
8a19bf51a1
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user