Make WordPress Core

Opened 10 years ago

Closed 8 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 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @matt
10 years ago

  • Milestone changed from 2.7 to 2.8

#2 @janeforshort
9 years ago

  • Milestone changed from 2.8 to Future Release

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

#3 @Denis-de-Bernardy
9 years ago

  • Keywords needs-patch added; has-patch removed

#4 @coffee2code
8 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.