Changeset 36147 for branches/4.4
- Timestamp:
- 01/02/2016 03:35:47 AM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-includes/embed-template.php
r35689 r36147 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.