mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@49672 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1254,9 +1254,9 @@ function setup_userdata( $for_user_id = 0 ) {
|
||||
* @type string $order Whether to order users in ascending or descending
|
||||
* order. Accepts 'ASC' (ascending) or 'DESC' (descending).
|
||||
* Default 'ASC'.
|
||||
* @type array|string $include Array or comma-separated list of user IDs to include.
|
||||
* @type int[]|string $include Array or comma-separated list of user IDs to include.
|
||||
* Default empty.
|
||||
* @type array|string $exclude Array or comma-separated list of user IDs to exclude.
|
||||
* @type int[]|string $exclude Array or comma-separated list of user IDs to exclude.
|
||||
* Default empty.
|
||||
* @type bool|int $multi Whether to skip the ID attribute on the 'select' element.
|
||||
* Accepts 1|true or 0|false. Default 0|false.
|
||||
|
||||
Reference in New Issue
Block a user