Make WordPress Core

Opened 18 years ago

Closed 16 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:
Priority: normal Milestone:
Component: Template Version: 2.6
Severity: normal Keywords:
Cc: Focuses:

Description

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 18 years ago.

Download all attachments as: .zip

Change History (5)

#1 @matt
18 years ago

  • Milestone 2.72.8

#2 @janeforshort
17 years ago

  • Milestone 2.8Future Release

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

#3 @Denis-de-Bernardy
17 years ago

  • Keywords needs-patch added; has-patch removed

#4 @coffee2code
16 years ago

  • Keywords needs-patch removed
  • Milestone Future Release
  • Resolutionduplicate
  • Status newclosed

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

Note: See TracTickets for help on using tickets.