Code Duplication    Length = 2-3 lines in 2 locations

wp-admin/includes/class-wp-press-this.php 1 location

@@ 820-822 (lines=3) @@
817
				}
818
819
				// Add in the current one if it isn't there yet, in case the current theme doesn't support it.
820
				if ( $post_format && ! in_array( $post_format, $post_formats[0] ) ) {
821
					$post_formats[0][] = $post_format;
822
				}
823
824
				?>
825
				<div id="post-formats-select">

wp-admin/includes/meta-boxes.php 1 location

@@ 371-372 (lines=2) @@
368
		if ( !$post_format )
369
			$post_format = '0';
370
		// Add in the current one if it isn't there yet, in case the current theme doesn't support it
371
		if ( $post_format && !in_array( $post_format, $post_formats[0] ) )
372
			$post_formats[0][] = $post_format;
373
	?>
374
	<div id="post-formats-select">
375
		<fieldset>