Ticket #39759: 39759.5.patch
| File 39759.5.patch, 639 bytes (added by , 9 years ago) |
|---|
-
src/wp-includes/theme-compat/embed-content.php
22 22 $thumbnail_id = get_the_ID(); 23 23 } 24 24 25 /** 26 * Filters the thumbnail image id for use in the embed template. 27 * 28 * @since 4.8.0 29 * 30 * @param int $thumbnail_id Attachment ID. 31 */ 32 $thumbnail_id = apply_filters( 'embed_thumbnail_id', $thumbnail_id ); 33 25 34 if ( $thumbnail_id ) { 26 35 $aspect_ratio = 1; 27 36 $measurements = array( 1, 1 );