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

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 4 12:00:25 UTC 2010


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

Comment(by maorb):

 I added the fix 10381.3.diff to post.php
 Now I see that an array of ancestors does return properly, which is a
 progress, but still the '''current_page_ancestor''' class is not set to
 the page item, when using the '''wp_list_pages()''' function.
 Any ideas about that?

 Thanks

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


More information about the wp-trac mailing list