[wp-meta] [Making WordPress.org] #6975: Ellipsis operator missing from variadic functions
Making WordPress.org
noreply at wordpress.org
Mon May 8 14:43:12 UTC 2023
#6975: Ellipsis operator missing from variadic functions
---------------------------+--------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Keywords:
---------------------------+--------------------
Variadic functions are not documented as such on the developer reference
site. The `...` variadic operator is not shown.
Example:
https://developer.wordpress.org/reference/functions/apply_filters/
The `...args` parameter of this function is documented in core with the
`...` variadic operator, but it's shown on the developer reference only as
`$args`.
The ellipsis should be retained for any parameter that includes it.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6975>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list