Code Duplication    Length = 4-4 lines in 2 locations

projects/plugins/jetpack/_inc/lib/class.media-extractor.php 2 locations

@@ 401-404 (lines=4) @@
398
		$image_booleans['gallery'] = 0;
399
400
		$from_featured_image = Jetpack_PostImages::from_thumbnail( $post->ID, $args['width'], $args['height'] );
401
		if ( ! empty( $from_featured_image ) ) {
402
			$srcs       = wp_list_pluck( $from_featured_image, 'src' );
403
			$image_list = array_merge( $image_list, $srcs );
404
		}
405
406
		$from_slideshow = Jetpack_PostImages::from_slideshow( $post->ID, $args['width'], $args['height'] );
407
		if ( ! empty( $from_slideshow ) ) {
@@ 407-410 (lines=4) @@
404
		}
405
406
		$from_slideshow = Jetpack_PostImages::from_slideshow( $post->ID, $args['width'], $args['height'] );
407
		if ( ! empty( $from_slideshow ) ) {
408
			$srcs       = wp_list_pluck( $from_slideshow, 'src' );
409
			$image_list = array_merge( $image_list, $srcs );
410
		}
411
412
		$from_gallery = Jetpack_PostImages::from_gallery( $post->ID );
413
		if ( ! empty( $from_gallery ) ) {