[wp-trac] [WordPress Trac] #51378: Taxonomy is missing from wp_list_categories inline documentation
WordPress Trac
noreply at wordpress.org
Sun Sep 27 08:17:39 UTC 2020
#51378: Taxonomy is missing from wp_list_categories inline documentation
------------------------------+-----------------------------
Reporter: grapplerulrich | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: docs
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"49060" 49060]:
{{{
#!CommitTicketReference repository="" revision="49060"
Taxonomy: Restore documentation for the `taxonomy` parameter of
`wp_list_categories()`.
The parameter's default value is different from the one in
`WP_Term_Query::__construct()`, and should be documented accordingly.
This also clarifies that the `taxonomy` parameter of
`wp_list_categories()` only accepts a string, not an array.
Follow-up to [40903], [41767], [45894], [45895].
Props grapplerulrich, mukesh27, TimothyBlynJacobs, SergeyBiryukov.
Fixes #51378. See #47896.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51378#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list