diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 2c63e23b27..bd83110e3f 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -1229,19 +1229,16 @@ function get_term_to_edit( $id, $taxonomy ) { * The {@see 'get_terms_orderby'} filter passes the `ORDER BY` clause for the query * along with the $args array. * - * Prior to 4.5.0, the first parameter of `get_terms()` was a taxonomy or list of taxonomies: - * - * $terms = get_terms( 'post_tag', array( - * 'hide_empty' => false, - * ) ); - * - * Since 4.5.0, taxonomies should be passed via the 'taxonomy' argument in the `$args` array: + * Taxonomy or an array of taxonomies should be passed via the 'taxonomy' argument + * in the `$args` array: * * $terms = get_terms( array( - * 'taxonomy' => 'post_tag', + * 'taxonomy' => 'post_tag', * 'hide_empty' => false, * ) ); * + * Prior to 4.5.0, taxonomy was passed as the first parameter of `get_terms()`. + * * @since 2.3.0 * @since 4.2.0 Introduced 'name' and 'childless' parameters. * @since 4.4.0 Introduced the ability to pass 'term_id' as an alias of 'id' for the `orderby` parameter. diff --git a/wp-includes/version.php b/wp-includes/version.php index d2ccf1204a..7bf9925bb9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55017'; +$wp_version = '6.2-alpha-55018'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.