From 36b4debdb43b158af62c754bb36e3752ad89a961 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 21 Aug 2019 16:27:55 +0000 Subject: [PATCH] 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 --- wp-includes/taxonomy.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index c6f2854a10..2db5038ef1 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 885c3e9cbc..35515645ac 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.