[wp-trac] Re: [WordPress Trac] #7247: get_pages specific use case optimization

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 5 16:18:39 GMT 2008


#7247: get_pages specific use case optimization
-------------------------------------+--------------------------------------
 Reporter:  DD32                     |        Owner:  anonymous
     Type:  defect                   |       Status:  new      
 Priority:  normal                   |    Milestone:  2.7      
Component:  Optimization             |      Version:  2.6      
 Severity:  normal                   |   Resolution:           
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by ryan):

 This gets only the direct ancestors, yes?  Is the current expectation that
 child_of without hierarchical will still fetch all generations, just not
 sorted hierarchically.  I think get_terms() uses "parent" to fetch just
 the immediate ancestors, whereas child_of always returns all of the
 begats.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7247#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list