[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
Tue Feb 14 22:10:38 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 Sam_a):
Replying to [comment:5 nacin]:
> 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.
Attached wp_get_attachment_image.2.diff should cover that.
Patch may look bigger than it is. ;)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14110#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list