[wp-trac] [WordPress Trac] #52416: Document accepted values for $parents argument of get_the_category_list()
WordPress Trac
noreply at wordpress.org
Mon Feb 1 23:06:30 UTC 2021
#52416: Document accepted values for $parents argument of get_the_category_list()
--------------------------+-----------------------------
Reporter: coffee2code | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: trivial | Keywords: has-patch
Focuses: docs |
--------------------------+-----------------------------
The `$parents` argument of `get_the_category_list()` recognizes only 3
acceptable values, none of which are documented.
Patch attached that explicitly lists the 3 acceptable values and the
default.
As a follow-on, ideally the description for the parameter or even the
function should actually explain the difference between the three options.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52416>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list