Code Duplication    Length = 2-4 lines in 2 locations

wp-admin/admin.php 1 location

@@ 128-131 (lines=4) @@
125
else
126
	$typenow = '';
127
128
if ( isset( $_REQUEST['taxonomy'] ) && taxonomy_exists( $_REQUEST['taxonomy'] ) )
129
	$taxnow = $_REQUEST['taxonomy'];
130
else
131
	$taxnow = '';
132
133
if ( WP_NETWORK_ADMIN )
134
	require(ABSPATH . 'wp-admin/network/menu.php');

wp-admin/includes/class-wp-screen.php 1 location

@@ 288-289 (lines=2) @@
285
		if ( ! $hook_name ) {
286
			if ( isset( $_REQUEST['post_type'] ) )
287
				$post_type = post_type_exists( $_REQUEST['post_type'] ) ? $_REQUEST['post_type'] : false;
288
			if ( isset( $_REQUEST['taxonomy'] ) )
289
				$taxonomy = taxonomy_exists( $_REQUEST['taxonomy'] ) ? $_REQUEST['taxonomy'] : false;
290
291
			switch ( $base ) {
292
				case 'post' :