Code Duplication    Length = 3-3 lines in 2 locations

src/wp-includes/media.php 2 locations

@@ 2338-2340 (lines=3) @@
2335
	}
2336
2337
	$attr_strings = array();
2338
	foreach ( $html_atts as $k => $v ) {
2339
		$attr_strings[] = $k . '="' . esc_attr( $v ) . '"';
2340
	}
2341
2342
	$html = '';
2343
	if ( 'mediaelement' === $library && 1 === $instance ) {
@@ 2595-2597 (lines=3) @@
2592
	}
2593
2594
	$attr_strings = array();
2595
	foreach ( $html_atts as $k => $v ) {
2596
		$attr_strings[] = $k . '="' . esc_attr( $v ) . '"';
2597
	}
2598
2599
	$html = '';
2600
	if ( 'mediaelement' === $library && 1 === $instance ) {