Code Duplication    Length = 5-5 lines in 4 locations

src/wp-includes/plugin.php 4 locations

@@ 182-186 (lines=5) @@
179
	$args = array();
180
181
	// Do 'all' actions first.
182
	if ( isset($wp_filter['all']) ) {
183
		$wp_current_filter[] = $tag;
184
		$args = func_get_args();
185
		_wp_call_all_hook($args);
186
	}
187
188
	if ( !isset($wp_filter[$tag]) ) {
189
		if ( isset($wp_filter['all']) )
@@ 229-233 (lines=5) @@
226
	global $wp_filter, $wp_current_filter;
227
228
	// Do 'all' actions first
229
	if ( isset($wp_filter['all']) ) {
230
		$wp_current_filter[] = $tag;
231
		$all_args = func_get_args();
232
		_wp_call_all_hook($all_args);
233
	}
234
235
	if ( !isset($wp_filter[$tag]) ) {
236
		if ( isset($wp_filter['all']) )
@@ 430-434 (lines=5) @@
427
		++$wp_actions[$tag];
428
429
	// Do 'all' actions first
430
	if ( isset($wp_filter['all']) ) {
431
		$wp_current_filter[] = $tag;
432
		$all_args = func_get_args();
433
		_wp_call_all_hook($all_args);
434
	}
435
436
	if ( !isset($wp_filter[$tag]) ) {
437
		if ( isset($wp_filter['all']) )
@@ 500-504 (lines=5) @@
497
		++$wp_actions[$tag];
498
499
	// Do 'all' actions first
500
	if ( isset($wp_filter['all']) ) {
501
		$wp_current_filter[] = $tag;
502
		$all_args = func_get_args();
503
		_wp_call_all_hook($all_args);
504
	}
505
506
	if ( !isset($wp_filter[$tag]) ) {
507
		if ( isset($wp_filter['all']) )