Code Duplication    Length = 4-4 lines in 2 locations

src/wp-includes/general-template.php 2 locations

@@ 2701-2704 (lines=4) @@
2698
	} elseif ( is_category() ) {
2699
		$term = get_queried_object();
2700
2701
		if ( $term ) {
2702
			$title = sprintf( $args['cattitle'], get_bloginfo('name'), $args['separator'], $term->name );
2703
			$href = get_category_feed_link( $term->term_id );
2704
		}
2705
	} elseif ( is_tag() ) {
2706
		$term = get_queried_object();
2707
@@ 2708-2711 (lines=4) @@
2705
	} elseif ( is_tag() ) {
2706
		$term = get_queried_object();
2707
2708
		if ( $term ) {
2709
			$title = sprintf( $args['tagtitle'], get_bloginfo('name'), $args['separator'], $term->name );
2710
			$href = get_tag_feed_link( $term->term_id );
2711
		}
2712
	} elseif ( is_tax() ) {
2713
 		$term = get_queried_object();
2714
 		$tax = get_taxonomy( $term->taxonomy );