Code Duplication    Length = 3-4 lines in 2 locations

wp-includes/theme.php 2 locations

@@ 1824-1827 (lines=4) @@
1821
	switch ( $feature ) {
1822
		case 'custom-logo' :
1823
		case 'custom-header' :
1824
		case 'custom-background' :
1825
			if ( isset( $_wp_theme_features[ $feature ][0][ $args[0] ] ) )
1826
				return $_wp_theme_features[ $feature ][0][ $args[0] ];
1827
			return false;
1828
1829
		default :
1830
			return $_wp_theme_features[ $feature ];
@@ 1951-1953 (lines=3) @@
1948
1949
		case 'custom-logo':
1950
		case 'custom-header':
1951
		case 'custom-background':
1952
			// Specific capabilities can be registered by passing an array to add_theme_support().
1953
			return ( isset( $_wp_theme_features[ $feature ][0][ $args[0] ] ) && $_wp_theme_features[ $feature ][0][ $args[0] ] );
1954
	}
1955
1956
	/**