[wp-trac] [WordPress Trac] #16574: Lazy load ancestors

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 16 11:18:00 UTC 2011


#16574: Lazy load ancestors
-------------------------+----------------------------
 Reporter:  nacin        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Performance  |    Version:
 Severity:  normal       |   Keywords:  3.2-early
-------------------------+----------------------------
 It should be pretty easy to lazy load ancestors using a magic get function
 on 'ancestors', rather than querying for them individually via
 _get_post_ancestors().

 johnjamesjacoby presented a use case where get_post_field() was triggering
 ancestors queries, with no way to avoid that if you know you need that
 information. Not sure how to solve that specific problem without thinking
 bigger.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16574>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list