[wp-trac] [WordPress Trac] #48303: Docblock improvements for 5.4
WordPress Trac
noreply at wordpress.org
Sun Mar 1 19:35:18 UTC 2020
#48303: Docblock improvements for 5.4
----------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses: docs
----------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [comment:89 johnbillion]:
> In [changeset:"47394" 47394]:
> {{{
> #!CommitTicketReference repository="" revision="47394"
> Docs: Correct and improve the docs for some media related functions.
@johnbillion I can't seem to figure out when the first parameter of the
`image_downsize` filter can be an array. The filter is used in two places,
and both pass `false` as the first parameter. Was the change to
`bool|array` intentional?
`wp_image_resize_identical_dimensions` uses a similar approach, and the
first parameter is still documented as `bool` there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48303#comment:97>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list