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

WordPress Trac noreply at wordpress.org
Thu Dec 5 21:19:59 UTC 2024


#62094: /wp-json/oembed/1.0/embed returns too big thumbnail_url
--------------------------------------+-------------------------
 Reporter:  colinleroy                |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.8
Component:  Embeds                    |     Version:  4.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59493" 59493]:
 {{{
 #!CommitTicketReference repository="" revision="59493"
 Embeds: ensure correct thumbnail height.

 Use height 0 instead of 9999 to avoid unnecessarily using the full size
 version.

 Props colinleroy, swissspidy.
 Fixes #62094.
 }}}

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


More information about the wp-trac mailing list