wordpress-develop
wordpress-develop copied to clipboard
Fix thumbnail height on embeds.
Use 0 as height, so that the closest bigger available image size will be used as thumbnail_url, instead of 99999 which prevented scaling down from happening at all.
Trac ticket: https://core.trac.wordpress.org/ticket/62094
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.