From fa42eb41a260b44fe41d0a013293c0d0348b0934 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 8 Oct 2009 21:37:26 +0000 Subject: [PATCH] Add a title to the Home link output by wp_page_menu(). Fixes #10594 props amilanov. git-svn-id: https://develop.svn.wordpress.org/trunk@12013 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 da1582e11e..f7a5a5bcaf 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -828,7 +828,7 @@ function wp_page_menu( $args = array() ) { $class = ''; if ( is_front_page() && !is_paged() ) $class = 'class="current_page_item"'; - $menu .= '
  • ' . $args['link_before'] . $text . $args['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'] ) ) {