[wp-trac] [WordPress Trac] #41756: Document arrays of a known type as such
WordPress Trac
noreply at wordpress.org
Thu Nov 19 18:22:18 UTC 2020
#41756: Document arrays of a known type as such
-------------------------+-----------------------
Reporter: johnbillion | Owner: janak007
Type: enhancement | Status: closed
Priority: low | Milestone: 5.4
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses: docs
-------------------------+-----------------------
Comment (by johnbillion):
In [changeset:"49672" 49672]:
{{{
#!CommitTicketReference repository="" revision="49672"
Docs: Document parameters that accept an array of integers using typed
array notation.
While many of these parameters also technically accept an array of
numerical strings, they are all ultimately cast to an array of integers.
Documenting them as such assists developers in understanding the expected
types.
See #51800, #41756
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41756#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list