From 7fc17ec0bd7cd04b0cd8fd99129f40e50d73fd6e Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@12013 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 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'] ) ) {