Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#8715 closed defect (bug) (fixed)

wp_page_menu doesn't seem to get link_before link_after

Reported by: ev3rywh3re Owned by:
Priority: normal Milestone: 2.7.1
Component: Template Version: 2.7
Severity: normal Keywords: wp_page_menu, has-patch
Cc: Focuses:

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)

post-template.php.diff (741 bytes ) - added by ev3rywh3re 18 years ago.
Patch use $arg array keys for link_before and link_after in post-template.php

Download all attachments as: .zip

Change History (5)

@ev3rywh3re
18 years ago

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

#1 @thee17
18 years ago

  • Cc thee17 added

#2 @ev3rywh3re
18 years ago

  • Milestone 2.82.7.1

Or there is a missing:

	extract( $args, EXTR_SKIP );

in wp_page_menu.

#3 @ryan
18 years ago

  • Resolutionfixed
  • Status newclosed

(In [10269]) Fix link_before and after args. Props ev3rywh3re. fixes #8715 for trunk

#4 @ryan
18 years ago

(In [10270]) Fix link_before and after args. Props ev3rywh3re. fixes #8715 for 2.7

Note: See TracTickets for help on using tickets.