Docs: Add a @since note about new parameters with the spread operator added to function signatures.

Props jrf.
See #47678.

git-svn-id: https://develop.svn.wordpress.org/trunk@46451 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-10-09 04:26:22 +00:00
parent d4e9608dec
commit 8ec0a21161
17 changed files with 66 additions and 3 deletions
+4
View File
@@ -177,6 +177,8 @@ class Walker {
* $max_depth > 0 specifies the number of display levels.
*
* @since 2.1.0
* @since 5.3.0 Formalized the existing `...$args` parameter by adding
* it to the function signature.
*
* @param array $elements An array of elements.
* @param int $max_depth The maximum hierarchical depth.
@@ -269,6 +271,8 @@ class Walker {
* $max_depth > 0 specifies the number of display levels.
*
* @since 2.7.0
* @since 5.3.0 Formalized the existing `...$args` parameter by adding
* it to the function signature.
*
* @param array $elements
* @param int $max_depth The maximum hierarchical depth.