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

WordPress Trac noreply at wordpress.org
Sun Mar 22 10:49:49 UTC 2015


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

Comment (by jevuska):

 Replying to [ticket:17262 lonnylot]:
 > The issue is that on line 3863 we always search for
 `$imagedata['thumb']` and it never exists. Instead we have
 `$imagedata['thumbnail']`. This always exists.

 Nothing change in 4.2 beta. Just found this solving at
 https://wordpress.org/support/topic/fix-for-bug-in-
 wp_get_attachment_thumb_file-1

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


More information about the wp-trac mailing list