[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
Mon Dec 6 15:34:53 UTC 2010


#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          |    Keywords:  has-patch 2nd-opinion
---------------------------+------------------------------------------------
Changes (by nacin):

  * keywords:  has-patch => has-patch 2nd-opinion
  * milestone:  3.1 => Future Release


Comment:

 I think this has the potential to break the filter, for those who receive
 an array through wp_get_attachment_image_attributes and build their own,
 not expecting additional keys.

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


More information about the wp-trac mailing list