[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 01:47:48 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 kitchin):

 Patch.5 has a problem: `$keys_only` is undefined because it's missing from
 the function arguments.

 A plus for this patch is that otherwise plugin developers must use the
 `$_wp_additional_image_sizes` global variable, which has the scare
 underscore.

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


More information about the wp-trac mailing list