Changeset 36123
- Timestamp:
- 12/30/2015 10:24:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/embed-template.php
r35689 r36123 51 51 52 52 $meta = wp_get_attachment_metadata( $thumbnail_id ); 53 if ( is_array( $meta) ) {53 if ( ! empty( $meta['sizes'] ) ) { 54 54 foreach ( $meta['sizes'] as $size => $data ) { 55 55 if ( $data['width'] / $data['height'] > $aspect_ratio ) {
Note: See TracChangeset
for help on using the changeset viewer.