[wp-trac] Re: [WordPress Trac] #5662: Class Ancestor Pages

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 27 23:29:59 GMT 2008


#5662: Class Ancestor Pages
------------------------------+---------------------------------------------
 Reporter:  AaronCampbell     |        Owner:  ryan  
     Type:  enhancement       |       Status:  closed
 Priority:  normal            |    Milestone:  2.5   
Component:  General           |      Version:  2.5   
 Severity:  normal            |   Resolution:  fixed 
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------
Comment (by ryan):

 I removed the bits from get_pages because we've trying to get rid of those
 nasty loops.   Split get_post_ancestors() into two functions.  One to
 populate the ancestors field in the post object and another as a
 convenience function for fetching the ancestors array.

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


More information about the wp-trac mailing list