[wp-trac] [WordPress Trac] #57840: Docblock improvements for 6.3
WordPress Trac
noreply at wordpress.org
Sat Jul 1 23:08:58 UTC 2023
#57840: Docblock improvements for 6.3
----------------------------+-------------------------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.3
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs, coding-standards
----------------------------+-------------------------------------
Comment (by audrasjb):
In [changeset:"56122" 56122]:
{{{
#!CommitTicketReference repository="" revision="56122"
Docs: Fix `image_get_intermediate_size()` docblock.
The description of returned values in array was incorrect for
`image_get_intermediate_size()`:
- `$file` returns the filename of image, no path information
- `$path` returns path relative to the uploads directory, not absolute
Props crstauf, sccr410.
Fixes #58686.
See #57840.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57840#comment:73>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list