[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
Thu May 22 19:24:57 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:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by ericlewis):

 Are there good use cases for this other than more declarative code?

 I don't see a huge benefit here, media functions are already rather
 complex, and this isn't a great developer experience improvement.

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


More information about the wp-trac mailing list