Make WordPress Core

Opened 4 years ago

Closed 17 months ago

Last modified 10 months ago

#52416 closed defect (bug) (fixed)

Document accepted values for $parents argument of get_the_category_list()

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

Description

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 4 years ago.
Patch mentioned in ticket.

Download all attachments as: .zip

Change History (5)

@coffee2code
4 years ago

Patch mentioned in ticket.

#1 @audrasjb
17 months ago

  • Milestone changed from Awaiting Review to 6.3
  • Owner set to audrasjb
  • Status changed from new to accepted

#2 @audrasjb
17 months ago

  • Milestone changed from 6.3 to Awaiting Review
  • Resolution set to fixed
  • Status changed from accepted to closed

Ah, it looks like it was fixed in by @SergeyBiryukov in [53715].

#3 @kebbet
11 months ago

@audrasjb Was the removal of 6.3 unintentional, if so, please reset the milestone. Thanks!

#4 @swissspidy
10 months ago

  • Milestone changed from Awaiting Review to 6.3
Note: See TracTickets for help on using tickets.