#8715 closed defect (bug) (fixed)
wp_page_menu doesn't seem to get link_before link_after
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.1 |
| Component: | Template | Version: | 2.7 |
| Severity: | normal | Keywords: | wp_page_menu, has-patch |
| Cc: | thee17 |
Description
I didn't follow the trail to wp_list_pages to see if it had the same issue, but it seems that link_before and link_after are looking for string variables when they should be looking at the array key value instead. Merry Xmas!
Attachments (1)
Change History (5)
ev3rywh3re — 4 years ago
comment:2
ev3rywh3re — 4 years ago
- Milestone changed from 2.8 to 2.7.1
Or there is a missing:
extract( $args, EXTR_SKIP );
in wp_page_menu.
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Patch use $arg array keys for link_before and link_after in post-template.php