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