[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
Sun Feb 7 13:59:38 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:  accepted
 Priority:  normal           |   Milestone:  5.7
Component:  Post Thumbnails  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  docs
-----------------------------+-----------------------

Comment (by GeekPress):

 Thanks @audrasjb for your feedback.

 I've updated the patch. I also updated the `@return` description of
 `wp_get_attachment_image_url` to have the same `@return` statement than
 `get_the_post_thumbnail_url`

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


More information about the wp-trac mailing list