[wp-trac] [WordPress Trac] #14110: Expose height and width attributes to 'wp_get_attachment_image_attributes' filter

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 4 22:35:18 UTC 2012


#14110: Expose height and width attributes to 'wp_get_attachment_image_attributes'
filter
-----------------------------------+-----------------------------
 Reporter:  divinenephron          |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Future Release
Component:  Media                  |     Version:  3.0
 Severity:  minor                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+-----------------------------

Comment (by wpsmith):

 Wouldn't it make more sense to "restore" height/width
 ($attr['width']/$attr['height']) attributes as empty strings rather than
 their full value?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14110#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list