Code Duplication    Length = 5-5 lines in 2 locations

src/wp-includes/plugin.php 2 locations

@@ 188-192 (lines=5) @@
185
		_wp_call_all_hook($args);
186
	}
187
188
	if ( !isset($wp_filter[$tag]) ) {
189
		if ( isset($wp_filter['all']) )
190
			array_pop($wp_current_filter);
191
		return $value;
192
	}
193
194
	if ( !isset($wp_filter['all']) )
195
		$wp_current_filter[] = $tag;
@@ 235-239 (lines=5) @@
232
		_wp_call_all_hook($all_args);
233
	}
234
235
	if ( !isset($wp_filter[$tag]) ) {
236
		if ( isset($wp_filter['all']) )
237
			array_pop($wp_current_filter);
238
		return $args[0];
239
	}
240
241
	if ( !isset($wp_filter['all']) )
242
		$wp_current_filter[] = $tag;