Taxonomy: Correct the accetped types for the `taxonomy` element in the arguments passed to `wp_dropdown_categories()`.
Props grapplerulrich Fixes #35446 Built from https://develop.svn.wordpress.org/trunk@36289 git-svn-id: http://core.svn.wordpress.org/trunk@36256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9cd5b76fbd
commit
e56457f7fe
|
@ -348,7 +348,7 @@ function category_description( $category = 0 ) {
|
||||||
* of the option elements. Accepts any valid term field: 'term_id', 'name',
|
* of the option elements. Accepts any valid term field: 'term_id', 'name',
|
||||||
* 'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description',
|
* 'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description',
|
||||||
* 'parent', 'count'. Default 'term_id'.
|
* '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.
|
* @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).
|
* Default false (create select element even if no categories are found).
|
||||||
* }
|
* }
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36288';
|
$wp_version = '4.5-alpha-36289';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue