Ticket #39759: 39759.2.patch
| File 39759.2.patch, 547 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 * Added filter for the $thumbnail_id 27 */ 28 $thumbnail_id = apply_filters( 'embed_thumbnail_id', $thumbnail_id ); 29 25 30 if ( $thumbnail_id ) { 26 31 $aspect_ratio = 1; 27 32 $measurements = array( 1, 1 );