Code Duplication    Length = 4-4 lines in 2 locations

wp-includes/general-template.php 2 locations

@@ 2667-2670 (lines=4) @@
2664
	} elseif ( is_category() ) {
2665
		$term = get_queried_object();
2666
2667
		if ( $term ) {
2668
			$title = sprintf( $args['cattitle'], get_bloginfo('name'), $args['separator'], $term->name );
2669
			$href = get_category_feed_link( $term->term_id );
2670
		}
2671
	} elseif ( is_tag() ) {
2672
		$term = get_queried_object();
2673
@@ 2674-2677 (lines=4) @@
2671
	} elseif ( is_tag() ) {
2672
		$term = get_queried_object();
2673
2674
		if ( $term ) {
2675
			$title = sprintf( $args['tagtitle'], get_bloginfo('name'), $args['separator'], $term->name );
2676
			$href = get_tag_feed_link( $term->term_id );
2677
		}
2678
	} elseif ( is_tax() ) {
2679
 		$term = get_queried_object();
2680
 		$tax = get_taxonomy( $term->taxonomy );