From b6c647c017af8254362f2a9a58c663751e011d95 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 30 Dec 2008 19:41:53 +0000 Subject: [PATCH] Fix link_before and after args. Props ev3rywh3re. fixes #8715 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@10269 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 0dc9120993..0da75e7833 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -680,7 +680,7 @@ function wp_page_menu( $args = array() ) { $class = ''; if ( is_front_page() && !is_paged() ) $class = 'class="current_page_item"'; - $menu .= '
  • ' . $link_before . $text . $link_after . '
  • '; + $menu .= '
  • ' . $args['link_before'] . $text . $args['link_after'] . '
  • '; // If the front page is a page, add it to the exclude list if (get_option('show_on_front') == 'page') { if ( !empty( $list_args['exclude'] ) ) {