From a0d817dd56a6e5f30c0dc0c44fec52327798a681 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@10269 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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'] ) ) {