[wp-trac] [WordPress Trac] #54383: wp_get_attachment_thumb_file looks for $imagedata['thumb'] but wp_create_image_subsizes doesn't create this array entry

WordPress Trac noreply at wordpress.org
Wed Aug 7 11:54:51 UTC 2024


#54383: wp_get_attachment_thumb_file looks for $imagedata['thumb'] but
wp_create_image_subsizes doesn't create this array entry
-----------------------------+------------------------
 Reporter:  markhowellsmead  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Media            |     Version:  5.8.1
 Severity:  major            |  Resolution:  duplicate
 Keywords:                   |     Focuses:
-----------------------------+------------------------

Comment (by markhowellsmead):

 Calling `get_the_post_thumbnail` without the size parameter, or with the
 size parameter set explicitly to `post-thumbnail`, still returns the full-
 size image in WordPress 6.6.1.

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


More information about the wp-trac mailing list