[wp-trac] [WordPress Trac] #34124: image_get_intermediate_size not filterable
WordPress Trac
noreply at wordpress.org
Thu Oct 8 05:52:40 UTC 2015
#34124: image_get_intermediate_size not filterable
-------------------------+--------------------------
Reporter: A5hleyRich | Owner: DH-Shredder
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.4
Component: Media | Version: 4.3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+--------------------------
Changes (by DH-Shredder):
* owner: => DH-Shredder
* status: new => accepted
* milestone: Awaiting Review => 4.4
Comment:
Hi @A5hleyRich! Thanks for this ticket and patch. I like it.
Attached [attachment:34124.3.diff], which expands the filter to handle all
return cases, including those where `$size` was passed a width and height.
Also expanded the docs for `image_get_intermediate_size()`, since its
signature is extremely confusing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34124#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list