[wp-trac] [WordPress Trac] #59651: Docblock improvements for 6.5
WordPress Trac
noreply at wordpress.org
Wed Jan 17 09:07:31 UTC 2024
#59651: Docblock improvements for 6.5
----------------------------+-------------------------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs, coding-standards
----------------------------+-------------------------------------
Comment (by audrasjb):
In [changeset:"57302" 57302]:
{{{
#!CommitTicketReference repository="" revision="57302"
Docs: Fix var types of parameters in `sanitize_option()` and
`sanitize_option_{$option}`.
The related docblocks were previously defining `$value` and
`$original_value` as if they were of type `string`, but they can also be
of other types, like `array`.
Props gerardreches, crstauf, mukesh27.
Fixes #60214.
See #59651.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59651#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list