From b571e7c6f1f84c882fbb29cb748e91010fd65c73 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 21 Oct 2024 01:22:17 +0000 Subject: [PATCH] Taxonomy: Remove count argument from `WP_Term_Query` docs. The DocBlock of `WP_Term_Query::__construct` mentions the count argument, however, this argument is not supported in `WP_Term_Query::get_terms()`. Props sergeybiryukov, swissspidy, snehapatil02, tyrannous. Fixes #61094. Built from https://develop.svn.wordpress.org/trunk@59261 git-svn-id: http://core.svn.wordpress.org/trunk@58653 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-term-query.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 77a3b9d23f..dc5e86a7f8 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -148,8 +148,6 @@ class WP_Term_Query { * - '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 - * over `$fields`. Default false. * @type string|string[] $name Name or array of names to return term(s) for. * Default empty. * @type string|string[] $slug Slug or array of slugs to return term(s) for. diff --git a/wp-includes/version.php b/wp-includes/version.php index 76e97c6b81..4b4f3e8d8a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-beta3-59260'; +$wp_version = '6.7-beta3-59261'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.