[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 Dec 28 09:15:27 UTC 2020


#52183: get_the_post_thumbnail_url  function returns original url if the size didnt
exist
--------------------------+------------------------------
 Reporter:  naveen17797   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by naveen17797):

 Additional information:

 I disabled the medium size by going to settings > Media > setting the
 dimensions to 0x0

 It wont be generated for any image, After featured image upload, the size
 doesnt exist on the db.

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


More information about the wp-trac mailing list