[wp-trac] [WordPress Trac] #62094: /wp-json/oembed/1.0/embed returns too big thumbnail_url

WordPress Trac noreply at wordpress.org
Sun Sep 22 14:26:57 UTC 2024


#62094: /wp-json/oembed/1.0/embed returns too big thumbnail_url
--------------------------+------------------------------
 Reporter:  colinleroy    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Embeds        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by colinleroy):

 * Attachment "wp-62094-2.patch" added.

 Correct patch. The constrained 99999 height was messing the ratio
 calculation, preventing image_get_intermediate_size() to consider good
 candidates.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62094>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list