From d438831da385c76cda68d186817d0fd45f614d7e Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 13 Jan 2016 20:15:19 +0000 Subject: [PATCH] Taxonomy: Correct the accetped types for the `taxonomy` element in the arguments passed to `wp_dropdown_categories()`. Props grapplerulrich Fixes #35446 git-svn-id: https://develop.svn.wordpress.org/trunk@36289 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 b1006dd2db..35d6c82ed0 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -348,7 +348,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 $taxonomy Name of the category to retrieve. Default 'category'. + * @type string|array $taxonomy Name of the category or categories 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). * }