[wp-trac] [WordPress Trac] #12908: Introduce get_term_ancestors()
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 7 20:30:28 UTC 2010
#12908: Introduce get_term_ancestors()
-------------------------+--------------------------------------------------
Reporter: scribu | Owner: filosofo
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Taxonomy | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
We have get_term_children(), but no get_term_ancestors().
It can be used in Core to cut down the queries done by
cat_is_ancestor_of() and will be useful in and off itself. Example: #12898
#10277
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12908>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list