Permalink
Browse files

Use & not ^ for E_STRICT on PHP 5

git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 4617888 commit d3be3569b9cec57b78e678791e7d7b3d74bafe8b westi committed Jan 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-settings.php
View
2 wp-settings.php
@@ -204,7 +204,7 @@ function timer_stop($display = 0, $precision = 3) { //if called like timer_stop(
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);
}

0 comments on commit d3be356

Please sign in to comment.