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

WordPress Trac noreply at wordpress.org
Sun Jun 3 05:42:40 UTC 2018


#17262: wp_get_attachment_thumb_file should check new 'thumbnail' image size
-------------------------------------------------+-------------------------
 Reporter:  lonnylot                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.0
Component:  Media                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug needs-unit-tests      |     Focuses:
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by mashukushibiki):

 $ is missing on line 962 at Attachment 17262.5.diff.

 `- $file = wp_get_attachment_metadata( attachment_id );`

 `+ $file = wp_get_attachment_metadata( $attachment_id );`

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


More information about the wp-trac mailing list