[wp-trac] [WordPress Trac] #52183: get_the_post_thumbnail_url function returns original url if the size didnt exist

WordPress Trac noreply at wordpress.org
Mon Feb 8 14:12:36 UTC 2021


#52183: get_the_post_thumbnail_url  function returns original url if the size didnt
exist
------------------------------+-----------------------
 Reporter:  naveen17797       |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.7
Component:  Post Thumbnails   |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-----------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"50236" 50236]:
 {{{
 #!CommitTicketReference repository="" revision="50236"
 Docs: Clarify the `@return` value for `wp_get_attachment_image_url()` and
 `get_the_post_thumbnail_url()`.

 Props GeekPress, audrasjb, naveen17797.
 Fixes #52183.
 }}}

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


More information about the wp-trac mailing list