From 742754d5a1dc51adfcb56ba2f97194cf0df126ae Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 27 Sep 2020 07:47:04 +0000 Subject: [PATCH] Docs: Correct description for the `taxonomy` parameter of `wp_dropdown_categories()`. Follow-up to [40903], [41767]. Props grapplerulrich, mukesh27, TimothyBlynJacobs. See #51378. git-svn-id: https://develop.svn.wordpress.org/trunk@49059 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index bfb23264d1..f200eb9448 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -325,7 +325,7 @@ function category_description( $category = 0 ) { * of the option elements. Accepts any valid term field: 'term_id', 'name', * 'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description', * 'parent', 'count'. Default 'term_id'. - * @type string|array $taxonomy Name of the category or categories to retrieve. Default 'category'. + * @type string|array $taxonomy Name of the taxonomy or taxonomies to retrieve. Default 'category'. * @type bool $hide_if_empty True to skip generating markup if no categories are found. * Default false (create select element even if no categories are found). * @type bool $required Whether the `