Changeset 37452
- Timestamp:
- 05/17/2016 08:32:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme-compat/embed-content.php
r37087 r37452 28 28 29 29 $meta = wp_get_attachment_metadata( $thumbnail_id ); 30 if ( is_array( $meta) ) {30 if ( ! empty( $meta['sizes'] ) ) { 31 31 foreach ( $meta['sizes'] as $size => $data ) { 32 32 if ( $data['width'] / $data['height'] > $aspect_ratio ) {
Note: See TracChangeset
for help on using the changeset viewer.