Make WordPress Core

Changeset 49059


Ignore:
Timestamp:
09/27/2020 07:47:04 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for the taxonomy parameter of wp_dropdown_categories().

Follow-up to [40903], [41767].

Props grapplerulrich, mukesh27, TimothyBlynJacobs.
See #51378.

File:
1 edited

Legend:

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

    r48941 r49059  
    326326 *                                           'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description',
    327327 *                                           'parent', 'count'. Default 'term_id'.
    328  *     @type string|array $taxonomy          Name of the category or categories to retrieve. Default 'category'.
     328 *     @type string|array $taxonomy          Name of the taxonomy or taxonomies to retrieve. Default 'category'.
    329329 *     @type bool         $hide_if_empty     True to skip generating markup if no categories are found.
    330330 *                                           Default false (create select element even if no categories are found).
Note: See TracChangeset for help on using the changeset viewer.