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

Props jrf.
See #47678.
Built from https://develop.svn.wordpress.org/trunk@46451


git-svn-id: http://core.svn.wordpress.org/trunk@46249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2019-10-09 04:28:02 +00:00
parent 6a38614ffe
commit 8d1e51e9c7
17 changed files with 65 additions and 4 deletions

View File

@@ -4868,6 +4868,9 @@ function wp_pre_kses_less_than_callback( $matches ) {
* WordPress implementation of PHP sprintf() with filters.
*
* @since 2.5.0
* @since 5.3.0 Formalized the existing and already documented `...$args` parameter
* by adding it to the function signature.
*
* @link https://secure.php.net/sprintf
*
* @param string $pattern The string which formatted args are inserted.