--- wp-includes/plugin.php-old	2012-07-06 09:54:38.000000000 -0600
+++ wp-includes/plugin.php	2012-07-06 09:58:43.000000000 -0600
@@ -163,7 +163,12 @@
 	if ( empty($args) )
 		$args = func_get_args();
 
+	$pri = null;
 	while ( ( $next = each($wp_filter[$tag]) ) !== false ) {
+		if ( is_null($pri) )
+			$pri = $next['key'];
+		if ( $pri > $next['key'] )
+			continue;
 		foreach( (array) $next['value'] as $the_ )
 			if ( !is_null($the_['function']) ){
 				$args[1] = $value;
@@ -221,7 +226,12 @@
 
 	reset( $wp_filter[ $tag ] );
 
+	$pri = null;
 	while ( ( $next = each($wp_filter[$tag]) ) !== false ) {
+		if ( is_null($pri) )
+			$pri = $next['key'];
+		if ( $pri > $next['key'] )
+			continue;
 		foreach( (array) $next['value'] as $the_ )
 			if ( !is_null($the_['function']) )
 				$args[0] = call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
@@ -397,7 +407,12 @@
 
 	reset( $wp_filter[ $tag ] );
 
+	$pri = null;
 	while ( ( $next = each($wp_filter[$tag]) ) !== false ) {
+		if ( is_null($pri) )
+			$pri = $next['key'];
+		if ( $pri > $next['key'] )
+			continue;
 		foreach( (array) $next['value'] as $the_ )
 			if ( !is_null($the_['function']) )
 				call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
@@ -478,7 +493,12 @@
 
 	reset( $wp_filter[ $tag ] );
 
+	$pri = null;
 	while ( ( $next = each($wp_filter[$tag]) ) !== false ) {
+		if ( is_null($pri) )
+			$pri = $next['key'];
+		if ( $pri > $next['key'] )
+			continue;
 		foreach( (array) $next['value'] as $the_ )
 			if ( !is_null($the_['function']) )
 				call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
@@ -708,7 +728,12 @@
 	global $wp_filter;
 
 	reset( $wp_filter['all'] );
+	$pri = $null;
 	while ( ( $next = each($wp_filter['all']) ) !== false ) {
+		if ( is_null($pri) )
+			$pri = $next['key'];
+		if ( $pri > $next['key'] )
+			continue;
 		foreach( (array) $next['value'] as $the_ )
 			if ( !is_null($the_['function']) )
 				call_user_func_array($the_['function'], $args);
