[wp-trac] [WordPress Trac] #10279: wp_list_pages hierarchical=0 shows hierarchy

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 26 12:27:42 GMT 2009


#10279: wp_list_pages hierarchical=0 shows hierarchy
--------------------------+-------------------------------------------------
 Reporter:  michaelh      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  low           |   Milestone:  Unassigned
Component:  Template      |     Version:  2.8       
 Severity:  minor         |    Keywords:            
--------------------------+-------------------------------------------------
 Using the hierarchical=0 with wp_list_pages still causes the hierarchy to
 display.

 Both these produce same result:
  wp_list_pages('hierarchical=0&title_li=<h2>Pages</h2>' );
  wp_list_pages('hierarchical=1&title_li=<h2>Pages</h2>' );

 Seems to be broken as least far back as 2.5.1, if not before.

 Note that hierarchical=0 works with wp_list_categories.

 Reported in Codex by Dnusim

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


More information about the wp-trac mailing list