Code Duplication    Length = 7-7 lines in 2 locations

src/wp-includes/media.php 2 locations

@@ 1671-1677 (lines=7) @@
1668
		return '';
1669
	}
1670
1671
	if ( is_feed() ) {
1672
		$output = "\n";
1673
		foreach ( $attachments as $att_id => $attachment ) {
1674
			$output .= wp_get_attachment_link( $att_id, $atts['size'], true ) . "\n";
1675
		}
1676
		return $output;
1677
	}
1678
1679
	$itemtag = tag_escape( $atts['itemtag'] );
1680
	$captiontag = tag_escape( $atts['captiontag'] );
@@ 1970-1976 (lines=7) @@
1967
		return '';
1968
	}
1969
1970
	if ( is_feed() ) {
1971
		$output = "\n";
1972
		foreach ( $attachments as $att_id => $attachment ) {
1973
			$output .= wp_get_attachment_link( $att_id ) . "\n";
1974
		}
1975
		return $output;
1976
	}
1977
1978
	$outer = 22; // default padding and border of wrapper
1979