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

WordPress Trac noreply at wordpress.org
Mon Jun 13 06:21:26 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:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by mukesh27):

 * focuses:  performance =>


Comment:

 Hi there!

 @markhowellsmead The Gutenberg block added the image `size` attribute in
 the function get_the_post_thumbnail(). Check [https://github.com/wordpress
 /wordpress-develop/blob/trunk/src/wp-includes/blocks/post-featured-
 image.php#L24 here].

 @SergeyBiryukov Is this ticket is in your to-do list for the upcoming
 release? Is there any patch stand with the current trunk version?

 Remove `Performance` focus.

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


More information about the wp-trac mailing list