diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index dc5e86a7f8..d680fd602c 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -206,7 +206,6 @@ class WP_Term_Query { 'number' => '', 'offset' => '', 'fields' => 'all', - 'count' => false, 'name' => '', 'slug' => '', 'term_taxonomy_id' => '', @@ -302,7 +301,7 @@ class WP_Term_Query { * * @param string|array $query Array or URL query string of parameters. * @return WP_Term[]|int[]|string[]|string Array of terms, or number of terms as numeric string - * when 'count' is passed as a query var. + * when 'count' is passed to `$args['fields']`. */ public function query( $query ) { $this->query_vars = wp_parse_args( $query ); @@ -344,7 +343,7 @@ class WP_Term_Query { * @global wpdb $wpdb WordPress database abstraction object. * * @return WP_Term[]|int[]|string[]|string Array of terms, or number of terms as numeric string - * when 'count' is passed as a query var. + * when 'count' is passed to `$args['fields']`. */ public function get_terms() { global $wpdb; diff --git a/wp-includes/version.php b/wp-includes/version.php index ffcc33634e..a8abe0aa51 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59319'; +$wp_version = '6.8-alpha-59325'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.