[wp-trac] [WordPress Trac] #12908: Introduce get_term_ancestors()

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 7 20:50:20 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
-------------------------+--------------------------------------------------

Comment(by scribu):

 Replying to [comment:1 filosofo]:
 > That's an interesting approach, but I think you're going to eat up all
 the memory with a decent number of categories.

 I don't think that's likely, since only two integer fields are retrieved:
 ID and parent.

 Besides, wp_list_categories() retrieves all the fields for all the
 categories and I haven't heard any memory limit issues about that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12908#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list