[wp-trac] [WordPress Trac] #14329: current_page_ancestor not being set because $post->ancestors is not being cached
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Fri Jul 16 14:18:17 UTC 2010
    
    
  
#14329: current_page_ancestor not being set because $post->ancestors is not being
cached
--------------------------+-------------------------------------------------
 Reporter:  layotte       |       Owner:                                         
     Type:  defect (bug)  |      Status:  new                                    
 Priority:  normal        |   Milestone:  Awaiting Review                        
Component:  Cache         |     Version:  3.0                                    
 Severity:  normal        |    Keywords:  current_page_ancestor, $post->ancestors
--------------------------+-------------------------------------------------
Comment(by scribu):
 WP_Query does some up-front caching of posts and ancestors. We really
 should cache ancestors only when required.
-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14329#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list