Code Duplication    Length = 5-5 lines in 4 locations

wp-includes/plugin.php 4 locations

@@ 207-211 (lines=5) @@
204
	$args = array();
205
206
	// Do 'all' actions first.
207
	if ( isset($wp_filter['all']) ) {
208
		$wp_current_filter[] = $tag;
209
		$args = func_get_args();
210
		_wp_call_all_hook($args);
211
	}
212
213
	if ( !isset($wp_filter[$tag]) ) {
214
		if ( isset($wp_filter['all']) )
@@ 267-271 (lines=5) @@
264
	global $wp_filter, $merged_filters, $wp_current_filter;
265
266
	// Do 'all' actions first
267
	if ( isset($wp_filter['all']) ) {
268
		$wp_current_filter[] = $tag;
269
		$all_args = func_get_args();
270
		_wp_call_all_hook($all_args);
271
	}
272
273
	if ( !isset($wp_filter[$tag]) ) {
274
		if ( isset($wp_filter['all']) )
@@ 492-496 (lines=5) @@
489
		++$wp_actions[$tag];
490
491
	// Do 'all' actions first
492
	if ( isset($wp_filter['all']) ) {
493
		$wp_current_filter[] = $tag;
494
		$all_args = func_get_args();
495
		_wp_call_all_hook($all_args);
496
	}
497
498
	if ( !isset($wp_filter[$tag]) ) {
499
		if ( isset($wp_filter['all']) )
@@ 576-580 (lines=5) @@
573
		++$wp_actions[$tag];
574
575
	// Do 'all' actions first
576
	if ( isset($wp_filter['all']) ) {
577
		$wp_current_filter[] = $tag;
578
		$all_args = func_get_args();
579
		_wp_call_all_hook($all_args);
580
	}
581
582
	if ( !isset($wp_filter[$tag]) ) {
583
		if ( isset($wp_filter['all']) )