[wp-trac] [WordPress Trac] #30636: image_downsize doesn't document the return value
WordPress Trac
noreply at wordpress.org
Mon Sep 21 10:21:51 UTC 2015
#30636: image_downsize doesn't document the return value
--------------------------+---------------------
Reporter: rmccue | Owner: rmccue
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Media | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+---------------------
Changes (by DrewAPicture):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"34362"]:
{{{
#!CommitTicketReference repository="" revision="34362"
Docs: Add a more complete return description for the array of data (or
false) returned by `image_downsize()`.
If not short-circuited via the `image_downsize` boolean filter,
`image_downsize()` returns an array of data including the image URL,
width, height, and whether the image size is intermediate, in that order.
Otherwise, it returns false.
Fixes #30636.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30636#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list