Opened 5 years ago

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

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

Download all attachments as: .zip

Change History (5)

comment:1   matt5 years ago

  • Milestone changed from 2.7 to 2.8
  • Milestone changed from 2.8 to Future Release

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

  • Keywords needs-patch added; has-patch removed
  • 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.