[wp-trac] [WordPress Trac] #12443: General get_ancestors() function

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 7 20:48:50 UTC 2010


#12443: General get_ancestors() function
-------------------------+--------------------------------------------------
 Reporter:  filosofo     |       Owner:  filosofo               
     Type:  enhancement  |      Status:  new                    
 Priority:  normal       |   Milestone:  Future Release         
Component:  Taxonomy     |     Version:  3.0                    
 Severity:  normal       |    Keywords:  get_ancestors has-patch
-------------------------+--------------------------------------------------

Comment(by filosofo):

 Replying to [comment:4 scribu]:
 > The proposed implementation of get_ancestors() will generate a lot of
 queries when you have deep nesting.

 How deep are you talking about, and how would that happen?  I've never
 seen so many levels in categories that it would make a difference (in
 other words, more than a handful).

 Also the object cache should help with that.

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


More information about the wp-trac mailing list