Ticket #8715: post-template.php.diff
| File post-template.php.diff, 741 bytes (added by , 17 years ago) |
|---|
-
wp-includes/post-template.php
680 680 $class = ''; 681 681 if ( is_front_page() && !is_paged() ) 682 682 $class = 'class="current_page_item"'; 683 $menu .= '<li ' . $class . '><a href="' . get_option('home') . '">' . $ link_before . $text . $link_after. '</a></li>';683 $menu .= '<li ' . $class . '><a href="' . get_option('home') . '">' . $args['link_before'] . $text . $args['link_after'] . '</a></li>'; 684 684 // If the front page is a page, add it to the exclude list 685 685 if (get_option('show_on_front') == 'page') { 686 686 if ( !empty( $list_args['exclude'] ) ) {