Index: wp-admin/includes/template.php
===================================================================
--- wp-admin/includes/template.php	(revision 21318)
+++ wp-admin/includes/template.php	(working copy)
@@ -1233,14 +1233,12 @@
 	}
 
 	// Check global in case errors have been added on this pageload
-	if ( ! count( $wp_settings_errors ) ) {
+	if ( ! count( $wp_settings_errors ) )
 		return array();
-	}
 
 	// Filter the results to those of a specific setting if one was set
 	if ( $setting ) {
 		foreach ( (array) $wp_settings_errors as $key => $details ) {
-			debug_log( $details['setting'] );
 			if ( $setting == $details['setting'] )
 				$setting_errors[] = $wp_settings_errors[$key];
 		}
