[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
Tue May 27 18:00:51 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: 4.0
Component: Media | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------
Comment (by ericlewis):
Custom image sizes width/height info is not stored in the database, there
should be a fallback to go to the `global $_wp_addtional_image_sizes`
array to fetch this data.
Also, suggested previously `get_image_sizes()`. `_data()` sounds
superfluous and lacks parity with `add_image_size()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18947#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list