[wp-trac] [WordPress Trac] #42463: Poor Description of add_image_size Params
WordPress Trac
noreply at wordpress.org
Thu Sep 20 20:47:31 UTC 2018
#42463: Poor Description of add_image_size Params
-----------------------------------------+----------------------------
Reporter: miqrogroove | Owner: nikolastoqnow
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.0
Component: Media | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses: docs
-----------------------------------------+----------------------------
Comment (by miqrogroove):
The docblock is totally inadequate. My reading of it is literally "We
will either scale or crop your photo, and the default is false." So wth?
Am I to understand that if I set "true", then a 1000 x 1000 image will be
"cropped" to, say, the middle 100x100 pixels and never resized? Based on
my experience, that is not even accurate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42463#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list