[wp-trac] [WordPress Trac] #29586: Sync get_the_category_list with get_the_term_list
WordPress Trac
noreply at wordpress.org
Tue Oct 21 21:25:43 UTC 2014
#29586: Sync get_the_category_list with get_the_term_list
------------------------------------------+------------------------------
Reporter: markoheijnen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 2.5
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Changes (by boonebgorges):
* keywords: has-patch dev-feedback => needs-patch needs-unit-tests
Comment:
This would be pretty great. I'd feel more comfortable with it if either of
these functions had any unit test coverage.
Moving the call to `get_category_parents()` into `get_the_term_list()` is
problematic, because `get_category_parents()` is compatible only with
categories. This would probably have to be accompanied by a taxonomy-
agnostic `get_term_parents()` (with `get_category_parents()` converted to
a wrapper).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29586#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list