Make WordPress Core


Ignore:
Timestamp:
12/30/2008 07:41:53 PM (16 years ago)
Author:
ryan
Message:

Fix link_before and after args. Props ev3rywh3re. fixes #8715 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r10230 r10269  
    681681        if ( is_front_page() && !is_paged() )
    682682            $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>';
    684684        // If the front page is a page, add it to the exclude list
    685685        if (get_option('show_on_front') == 'page') {
Note: See TracChangeset for help on using the changeset viewer.