[wp-trac] [WordPress Trac] #17069: missing get_term_parents() function

WordPress Trac noreply at wordpress.org
Thu Dec 8 15:55:30 UTC 2016


#17069: missing get_term_parents() function
--------------------------------------+---------------------------
 Reporter:  thomask                   |       Owner:  keesiemeijer
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.8
Component:  Taxonomy                  |     Version:  3.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------

Comment (by keesiemeijer):

 In patch [attachment:17069.2.patch]  the `format` argument is added and
 the functions are cleaned up to follow the code standards. I've also added
 a new unit test for terms without parents. I've ran the new test on the
 original `get_category_parents()` code as well to make sure it was
 returning the same value.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17069#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list