Docs: Correct type for the `$deprecated` argument of `get_terms()`.

Props itowhid06.
Fixes #47915.
Built from https://develop.svn.wordpress.org/trunk@45872


git-svn-id: http://core.svn.wordpress.org/trunk@45683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-08-21 16:27:55 +00:00
parent 3d12c4b6d8
commit 36b4debdb4
2 changed files with 3 additions and 3 deletions

View File

@ -1126,9 +1126,9 @@ function get_term_to_edit( $id, $taxonomy ) {
*
* @internal The `$deprecated` parameter is parsed for backward compatibility only.
*
* @param string|array $args Optional. Array or string of arguments. See WP_Term_Query::__construct()
* @param array|string $args Optional. Array or string of arguments. See WP_Term_Query::__construct()
* for information on accepted arguments. Default empty.
* @param array $deprecated Argument array, when using the legacy function parameter format. If present, this
* @param array|string $deprecated Argument array, when using the legacy function parameter format. If present, this
* parameter will be interpreted as `$args`, and the first function parameter will
* be parsed as a taxonomy or array of taxonomies.
* @return array|int|WP_Error List of WP_Term instances and their children. Will return WP_Error, if any of taxonomies

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45871';
$wp_version = '5.3-alpha-45872';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.