Code Duplication    Length = 7-7 lines in 2 locations

src/wp-includes/media.php 2 locations

@@ 1701-1707 (lines=7) @@
1698
		return '';
1699
	}
1700
1701
	if ( is_feed() ) {
1702
		$output = "\n";
1703
		foreach ( $attachments as $att_id => $attachment ) {
1704
			$output .= wp_get_attachment_link( $att_id, $atts['size'], true ) . "\n";
1705
		}
1706
		return $output;
1707
	}
1708
1709
	$itemtag = tag_escape( $atts['itemtag'] );
1710
	$captiontag = tag_escape( $atts['captiontag'] );
@@ 2000-2006 (lines=7) @@
1997
		return '';
1998
	}
1999
2000
	if ( is_feed() ) {
2001
		$output = "\n";
2002
		foreach ( $attachments as $att_id => $attachment ) {
2003
			$output .= wp_get_attachment_link( $att_id ) . "\n";
2004
		}
2005
		return $output;
2006
	}
2007
2008
	$outer = 22; // default padding and border of wrapper
2009