[wp-trac] Re: [WordPress Trac] #10279: wp_list_pages hierarchical=0
shows hierarchy
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 26 13:03:40 GMT 2009
#10279: wp_list_pages hierarchical=0 shows hierarchy
--------------------------+-------------------------------------------------
Reporter: michaelh | Owner:
Type: defect (bug) | Status: closed
Priority: low | Milestone: Unassigned
Component: Template | Version: 2.8
Severity: minor | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Changes (by filosofo):
* status: new => closed
* resolution: => invalid
Comment:
{{{wp_list_pages}}} always sets hierarchical to "0" when it calls
get_pages, because hierarchical wouldn't work with the "Walker" class.
I think you want to use the "depth" argument instead.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10279#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list