[wp-trac] [WordPress Trac] #10381: post->ancestors isn't always set

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 10 15:08:56 UTC 2009


#10381: post->ancestors isn't always set
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  ryan                         
     Type:  defect (bug)       |      Status:  new                          
 Priority:  normal             |   Milestone:  3.0                          
Component:  Cache              |     Version:  2.8                          
 Severity:  normal             |    Keywords:  dev-feedback needs-unit-tests
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 further follow-up on this one. testing reveals that the correct fix is the
 first one suggested. the second patch causes memory-related problems by
 generating get_post() loops.

 attaching a new patch that doesn't needlessly hammer the DB.

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


More information about the wp-trac mailing list