[wp-trac] [WordPress Trac] #10902: Display problem with exclude option in wp_list_pages

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 4 19:45:39 UTC 2009


#10902: Display problem with exclude option in wp_list_pages
--------------------------+-------------------------------------------------
 Reporter:  toutantic     |       Owner:               
     Type:  defect (bug)  |      Status:  new          
 Priority:  normal        |   Milestone:  Unassigned   
Component:  General       |     Version:  2.8.4        
 Severity:  normal        |    Keywords:  wp_list_pages
--------------------------+-------------------------------------------------
 Create pages A,B,C and D, A parent of B, B of C and C of D[[BR]]
 A[[BR]]
 -B[[BR]]
 --C[[BR]]
 ---D[[BR]]

 call in a template
 <?php wp_list_pages("exclude=6"); ?>
 (6 is the ID of page B)

 I get this display :[[BR]]
 * A[[BR]]
 * C[[BR]]
 * D[[BR]]

 when I expect :[[BR]]
 * A[[BR]]
 * C[[BR]]
 -* D[[BR]]

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


More information about the wp-trac mailing list