[wp-trac] [WordPress Trac] #18947: get_intermediate_image_sizes() should also contain width/height/crop values as sub array

WordPress Trac noreply at wordpress.org
Fri May 23 14:47:52 UTC 2014


#18947: get_intermediate_image_sizes() should also contain width/height/crop values
as sub array
-------------------------+------------------------------
 Reporter:  F J Kaiser   |       Owner:
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------
Changes (by ericlewis):

 * keywords:  has-patch dev-feedback => needs-patch


Comment:

 If we were going ahead with this, I would suggest creating a new top-level
 function, something like `get_image_sizes()` so we're not tacking on
 unintuitive parameters to existing functions, and parity with
 `add_image_size()`. Would someone like to a patch together?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18947#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list