[wp-trac] [WordPress Trac] #9672: Better filtering for
image_downsize()
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 28 20:35:39 GMT 2009
#9672: Better filtering for image_downsize()
-------------------------+--------------------------------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Media | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Currently, the image_downsize filter doesn't pass the computed data array.
So, for example, if a plugin wants only to change the image src, it has to
copy the entire image_downsize() function in order to compute the other
fields: $width, $heigh and $is_intermediate.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9672>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list