Code Duplication    Length = 3-4 lines in 2 locations

src/wp-includes/media.php 2 locations

@@ 1774-1776 (lines=3) @@
1771
				</{$captiontag}>";
1772
		}
1773
		$output .= "</{$itemtag}>";
1774
		if ( ! $html5 && $columns > 0 && ++$i % $columns == 0 ) {
1775
			$output .= '<br style="clear: both" />';
1776
		}
1777
	}
1778
1779
	if ( ! $html5 && $columns > 0 && $i % $columns !== 0 ) {
@@ 1779-1782 (lines=4) @@
1776
		}
1777
	}
1778
1779
	if ( ! $html5 && $columns > 0 && $i % $columns !== 0 ) {
1780
		$output .= "
1781
			<br style='clear: both' />";
1782
	}
1783
1784
	$output .= "
1785
		</div>\n";