[wp-trac] [WordPress Trac] #17262: wp_get_attachment_thumb_file should check new 'thumbnail' image size

WordPress Trac noreply at wordpress.org
Thu Jun 23 12:46:37 UTC 2022


#17262: wp_get_attachment_thumb_file should check new 'thumbnail' image size
-------------------------+-----------------------------
 Reporter:  lonnylot     |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------

Comment (by markhowellsmead):

 @mukesh27 Please refer to
 https://core.trac.wordpress.org/ticket/17262#comment:55 which explains how
 the conflict between "post-thumbnail" and "thumbnail" size keywords leads
 to the output of the wrong image, thereby causing performance issues on
 any site using `get_the_post_thumbnail`.

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


More information about the wp-trac mailing list