More Error Reporting stuff. See # 8701 props Denis-de-Bernardy

git-svn-id: http://svn.automattic.com/wordpress/trunk@10418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-01-23 13:18:50 +00:00
parent 0982df4801
commit 978652431d

View File

@ -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);
}