Make WordPress Core


Ignore:
Timestamp:
01/13/2016 08:15:19 PM (9 years ago)
Author:
johnbillion
Message:

Taxonomy: Correct the accetped types for the taxonomy element in the arguments passed to wp_dropdown_categories().

Props grapplerulrich
Fixes #35446

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/category-template.php

    r36135 r36289  
    349349 *                                           'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description',
    350350 *                                           'parent', 'count'. Default 'term_id'.
    351  *     @type string       $taxonomy          Name of the category to retrieve. Default 'category'.
     351 *     @type string|array $taxonomy          Name of the category or categories to retrieve. Default 'category'.
    352352 *     @type bool         $hide_if_empty     True to skip generating markup if no categories are found.
    353353 *                                           Default false (create select element even if no categories are found).
Note: See TracChangeset for help on using the changeset viewer.