Index: wp-includes/plugin.php
===================================================================
--- wp-includes/plugin.php	(revision 1613)
+++ wp-includes/plugin.php	(working copy)
@@ -159,14 +159,14 @@
 	if ( empty($args) )
 		$args = func_get_args();
 
-	do {
-		foreach( (array) current($wp_filter[$tag]) as $the_ )
+	foreach ( $wp_filter[$tag] as $filters ) {
+		foreach( (array) $filters as $the_ )
 			if ( !is_null($the_['function']) ){
 				$args[1] = $value;
 				$value = call_user_func_array($the_['function'], array_slice($args, 1, (int) $the_['accepted_args']));
 			}
 
-	} while ( next($wp_filter[$tag]) !== false );
+	}
 
 	array_pop( $wp_current_filter );
 
@@ -333,12 +333,12 @@
 
 	reset( $wp_filter[ $tag ] );
 
-	do {
-		foreach ( (array) current($wp_filter[$tag]) as $the_ )
+	foreach ( $wp_filter[$tag] as $filters ) {
+		foreach ( (array) $filters as $the_ )
 			if ( !is_null($the_['function']) )
 				call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
 
-	} while ( next($wp_filter[$tag]) !== false );
+	}
 
 	array_pop($wp_current_filter);
 }
