Code Duplication    Length = 6-6 lines in 3 locations

wp-includes/plugin.php 3 locations

@@ 290-295 (lines=6) @@
287
288
	reset( $wp_filter[ $tag ] );
289
290
	do {
291
		foreach ( (array) current($wp_filter[$tag]) as $the_ )
292
			if ( !is_null($the_['function']) )
293
				$args[0] = call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
294
295
	} while ( next($wp_filter[$tag]) !== false );
296
297
	array_pop( $wp_current_filter );
298
@@ 523-528 (lines=6) @@
520
521
	reset( $wp_filter[ $tag ] );
522
523
	do {
524
		foreach ( (array) current($wp_filter[$tag]) as $the_ )
525
			if ( !is_null($the_['function']) )
526
				call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
527
528
	} while ( next($wp_filter[$tag]) !== false );
529
530
	array_pop($wp_current_filter);
531
}
@@ 599-604 (lines=6) @@
596
597
	reset( $wp_filter[ $tag ] );
598
599
	do {
600
		foreach ( (array) current($wp_filter[$tag]) as $the_ )
601
			if ( !is_null($the_['function']) )
602
				call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
603
604
	} while ( next($wp_filter[$tag]) !== false );
605
606
	array_pop($wp_current_filter);
607
}