Code Duplication    Length = 3-4 lines in 2 locations

src/wp-includes/media.php 2 locations

@@ 1804-1806 (lines=3) @@
1801
				</{$captiontag}>";
1802
		}
1803
		$output .= "</{$itemtag}>";
1804
		if ( ! $html5 && $columns > 0 && ++$i % $columns == 0 ) {
1805
			$output .= '<br style="clear: both" />';
1806
		}
1807
	}
1808
1809
	if ( ! $html5 && $columns > 0 && $i % $columns !== 0 ) {
@@ 1809-1812 (lines=4) @@
1806
		}
1807
	}
1808
1809
	if ( ! $html5 && $columns > 0 && $i % $columns !== 0 ) {
1810
		$output .= "
1811
			<br style='clear: both' />";
1812
	}
1813
1814
	$output .= "
1815
		</div>\n";