@@ 645-646 (lines=2) @@ | ||
642 | if ( $args['from_thumbnail'] ) { |
|
643 | $media = self::from_thumbnail( $post_id, $args['width'], $args['height'] ); |
|
644 | } |
|
645 | if ( ! $media && $args['from_slideshow'] ) { |
|
646 | $media = self::from_slideshow( $post_id, $args['width'], $args['height'] ); |
|
647 | } |
|
648 | if ( ! $media && $args['from_gallery'] ) { |
|
649 | $media = self::from_gallery( $post_id ); |
|
@@ 651-652 (lines=2) @@ | ||
648 | if ( ! $media && $args['from_gallery'] ) { |
|
649 | $media = self::from_gallery( $post_id ); |
|
650 | } |
|
651 | if ( ! $media && $args['from_attachment'] ) { |
|
652 | $media = self::from_attachment( $post_id, $args['width'], $args['height'] ); |
|
653 | } |
|
654 | if ( ! $media && $args['from_blocks'] ) { |
|
655 | if ( empty( $args['html_content'] ) ) { |