diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 465bcb7156..3fda6a9569 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -97,16 +97,16 @@ class WP_Term_Query { * @type int|int[] $object_ids Optional. Object ID, or array of object IDs. Results will be * limited to terms associated with these objects. * @type string $orderby Field(s) to order terms by. Accepts: - * - term fields ('name', 'slug', 'term_group', 'term_id', 'id', + * * term fields ('name', 'slug', 'term_group', 'term_id', 'id', * 'description', 'parent', 'term_order'). Unless `$object_ids` * is not empty, 'term_order' is treated the same as 'term_id'. - * - 'count' to use the number of objects associated with the term. - * - 'include' to match the 'order' of the $include param. - * - 'slug__in' to match the 'order' of the $slug param. - * - 'meta_value', 'meta_value_num'. - * - the value of `$meta_key`. - * - the array keys of `$meta_query`. - * - 'none' to omit the ORDER BY clause. + * * 'count' to use the number of objects associated with the term. + * * 'include' to match the 'order' of the $include param. + * * 'slug__in' to match the 'order' of the $slug param. + * * 'meta_value', 'meta_value_num'. + * the value of `$meta_key`. + * the array keys of `$meta_query`. + * * 'none' to omit the ORDER BY clause. * Defaults to 'name'. * @type string $order Whether to order terms in ascending or descending order. * Accepts 'ASC' (ascending) or 'DESC' (descending). @@ -127,20 +127,20 @@ class WP_Term_Query { * See #41796 for details. * @type int $offset The number by which to offset the terms query. Default empty. * @type string $fields Term fields to query for. Accepts: - * - 'all' Returns an array of complete term objects (`WP_Term[]`). - * - 'all_with_object_id' Returns an array of term objects + * * 'all' Returns an array of complete term objects (`WP_Term[]`). + * * 'all_with_object_id' Returns an array of term objects * with the 'object_id' param (`WP_Term[]`). Works only * when the `$object_ids` parameter is populated. - * - 'ids' Returns an array of term IDs (`int[]`). - * - 'tt_ids' Returns an array of term taxonomy IDs (`int[]`). - * - 'names' Returns an array of term names (`string[]`). - * - 'slugs' Returns an array of term slugs (`string[]`). - * - 'count' Returns the number of matching terms (`int`). - * - 'id=>parent' Returns an associative array of parent term IDs, + * * 'ids' Returns an array of term IDs (`int[]`). + * * 'tt_ids' Returns an array of term taxonomy IDs (`int[]`). + * * 'names' Returns an array of term names (`string[]`). + * * 'slugs' Returns an array of term slugs (`string[]`). + * * 'count' Returns the number of matching terms (`int`). + * * 'id=>parent' Returns an associative array of parent term IDs, * keyed by term ID (`int[]`). - * - 'id=>name' Returns an associative array of term names, + * * 'id=>name' Returns an associative array of term names, * keyed by term ID (`string[]`). - * - 'id=>slug' Returns an associative array of term slugs, + * * 'id=>slug' Returns an associative array of term slugs, * keyed by term ID (`string[]`). * Default 'all'. * @type bool $count Whether to return a term count. If true, will take precedence diff --git a/wp-includes/version.php b/wp-includes/version.php index 75d422b9cf..ede71fe1b2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50613'; +$wp_version = '5.8-alpha-50614'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.