Code Duplication    Length = 2-2 lines in 2 locations

class.jetpack-post-images.php 2 locations

@@ 619-620 (lines=2) @@
616
		$media = false;
617
		if ( $args['from_thumbnail'] )
618
			$media = self::from_thumbnail( $post_id, $args['width'], $args['height'] );
619
		if ( !$media && $args['from_slideshow'] )
620
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
621
		if ( !$media && $args['from_gallery'] )
622
			$media = self::from_gallery( $post_id );
623
		if ( !$media && $args['from_attachment'] )
@@ 623-624 (lines=2) @@
620
			$media = self::from_slideshow( $post_id, $args['width'], $args['height'] );
621
		if ( !$media && $args['from_gallery'] )
622
			$media = self::from_gallery( $post_id );
623
		if ( !$media && $args['from_attachment'] )
624
			$media = self::from_attachment( $post_id, $args['width'], $args['height'] );
625
		if ( ! $media && $args['from_blocks'] ) {
626
			if ( empty( $args['html_content'] ) )
627
				$media = self::from_blocks( $post_id, $args['width'], $args['height'] ); // Use the post_id, which will load the content