Opened 15 years ago
Closed 15 years ago
#10921 closed defect (bug) (fixed)
Add 'walker' to defaults in wp_list_pages
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | minor | Version: | 2.9 |
Component: | Template | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
(r11999 2.9-rare)
There is a way that a theme developer can use his own walker in wp_list_pages, or there seems to be one. The only thing blocking this is that wp_parse_args only compacts the default keys and walker is not one of them. And I really don't feel like hacking core for this theme. It's only 1 line!
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
You're right: walk_page_tree() has a 'walker' argument which isn't propagated from wp_list_pages().