Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#2608 closed defect (bug) (fixed)

New walk_tree class breaks wp_list_pages depth

Reported by: cicloid Owned by: davidhouse
Priority: normal Milestone:
Component: Administration Version: 2.1
Severity: normal Keywords: depth, wp_list_pages, walk_tree bg|has-patch
Cc: Focuses:

Description (last modified by davidhouse)

The new walk tree class doesnt respect the wp_list_pages depth value, (on any value), it justs outputs the whole tree.

Im not so sure on what is exactly the bug, but it seems that when implementing the new walktree (the previous _page_level_out and wp_list_pages work with the same syntax) the depth value stopped working.

Attachments (1)

2608.diff (3.7 KB ) - added by davidhouse 20 years ago.

Download all attachments as: .zip

Change History (5)

#1 @davidhouse
20 years ago

  • Owner changed from anonymous to davidhouse
  • Status newassigned

#2 @davidhouse
20 years ago

Try this patch. I'm yet to change my patch on #2593.

@davidhouse
20 years ago

#3 @davidhouse
20 years ago

  • Description modified (diff)
  • Keywords bg|has-patch added

#4 @matt
20 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [3701]) walk_tree broken, fixes #2608

Note: See TracTickets for help on using tickets.