Make WordPress Core


Ignore:
Timestamp:
11/03/2008 06:07:39 AM (17 years ago)
Author:
ryan
Message:

link_before and link_after for wp_list_pages(). Props thee17. fixes #8041

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r9299 r9484  
    11691169        }
    11701170
    1171         $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . apply_filters('the_title', $page->post_title) . '</a>';
     1171        $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . $link_before . apply_filters('the_title', $page->post_title) . $link_after . '</a>';
    11721172
    11731173        if ( !empty($show_date) ) {
Note: See TracChangeset for help on using the changeset viewer.