Make WordPress Core

Opened 7 years ago

Closed 5 years ago

#7251 closed enhancement (duplicate)

Allow the separator between category and its subcategory to be specified in template tag

Reported by: nbachiyski Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.6
Component: Template Keywords:
Focuses: Cc:


The get_category_parents() function supports setting a separator between a category and its sub-categories, but this functionality isn't exposed anywhere.

The patch adds a new optional $subcat_separator argument to both get_the_category_list() and the_category().

Attachments (1)

subcat-separator.diff (2.7 KB) - added by nbachiyski 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 @matt7 years ago

  • Milestone changed from 2.7 to 2.8

comment:2 @janeforshort6 years ago

  • Milestone changed from 2.8 to Future Release

Punting to be evaluated in next development cycle due to time constraints.

comment:3 @Denis-de-Bernardy6 years ago

  • Keywords needs-patch added; has-patch removed

comment:4 @coffee2code5 years ago

  • Keywords needs-patch removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This appears to be a dup of #7005 and as such was fixed in r9190.

Note: See TracTickets for help on using tickets.