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'] ) ) {