wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Fix thumbnail height on embeds.

Open colinleroy opened this issue 5 months ago • 3 comments

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.

colinleroy avatar Sep 23 '24 14:09 colinleroy