WordPress.org

Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#2608 closed defect (bug) (fixed)

New walk_tree class breaks wp_list_pages depth

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

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 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @davidhouse
15 years ago

  • Owner changed from anonymous to davidhouse
  • Status changed from new to assigned

#2 @davidhouse
15 years ago

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

@davidhouse
15 years ago

#3 @davidhouse
15 years ago

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

#4 @matt
15 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.