WordPress.org

Make WordPress Core

Changeset 10270


Ignore:
Timestamp:
12/30/08 19:42:07 (5 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r10150 r10270  
    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.