Make WordPress Core

Opened 2 years ago

#52416 new defect (bug)

Document accepted values for $parents argument of get_the_category_list()

Reported by: coffee2code's profile coffee2code Owned by:
Milestone: Awaiting Review Priority: low
Severity: trivial Version:
Component: Taxonomy Keywords: has-patch
Focuses: docs Cc:


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.

Attachments (1)

52416.diff (807 bytes) - added by coffee2code 2 years ago.
Patch mentioned in ticket.

Download all attachments as: .zip

Change History (1)

2 years ago

Patch mentioned in ticket.

Note: See TracTickets for help on using tickets.