mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Use & not ^ for E_STRICT on PHP 5
git-svn-id: http://svn.automattic.com/wordpress/trunk@10407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0c9e106ccc
commit
ff91fefd30
@ -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…
Reference in New Issue
Block a user