[wp-trac] [WordPress Trac] #33959: Improve wp_get_attachment_thumb_file

WordPress Trac noreply at wordpress.org
Thu Oct 8 20:22:11 UTC 2015


#33959: Improve wp_get_attachment_thumb_file
-------------------------------------------------+-------------------------
 Reporter:  Rahe                                 |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Media                                |  Review
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch needs-refresh needs-unit-  |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 swissspidy]:
 > First of all, it seems like `wp_get_attachment_thumb_file` doesn't even
 work. `$imagedata['thumb']` should probably be
 `$imagedata['sizes']['thumbnail']['file']`.

 See #17262.

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


More information about the wp-trac mailing list