Ticket #39759: updated-39759.patch
| File updated-39759.patch, 548 bytes (added by , 9 years ago) |
|---|
-
embed-content.php
21 21 if ( 'attachment' === get_post_type() && wp_attachment_is_image() ) { 22 22 $thumbnail_id = get_the_ID(); 23 23 } 24 24 /** 25 * Added filter for the embed_thumbnail_id 26 */ 27 $thumbnail_id = apply_filters( 'embed_thumbnail_id', $thumbnail_id ); 25 28 if ( $thumbnail_id ) { 26 29 $aspect_ratio = 1; 27 30 $measurements = array( 1, 1 );