Index: wp-settings.php
===================================================================
--- wp-settings.php	(revision 11760)
+++ wp-settings.php	(working copy)
@@ -199,7 +199,10 @@
 
 // Add define('WP_DEBUG',true); to wp-config.php to enable display of notices during development.
 if ( defined('WP_DEBUG') && WP_DEBUG == true ) {
-	error_reporting(E_ALL);
+	if ( defined('E_DEPRECATED') && defined('E_STRICT')  )
+		error_reporting(E_ALL & ~ E_DEPRECATED & ~ E_STRICT);
+	else
+		error_reporting(E_ALL);
 	// Add define('WP_DEBUG_DISPLAY', false); to wp-config.php to use the globally configured setting for display_errors and not force it to On
 	if ( ! defined('WP_DEBUG_DISPLAY') || WP_DEBUG_DISPLAY == true )
 		ini_set('display_errors', 1);
