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

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 10 20:38:11 UTC 2009


#10381: post->ancestors isn't always set
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  ryan     
     Type:  defect (bug)       |      Status:  new      
 Priority:  normal             |   Milestone:  2.9      
Component:  Cache              |     Version:  2.8      
 Severity:  normal             |    Keywords:  has-patch
-------------------------------+--------------------------------------------
 when update_post_cache() gets called to cache the results of a query so as
 to avoid needless db calls to get permalinks, and then get_post() is used,
 posts can end up without the ancestor variable being set.

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


More information about the wp-trac mailing list