Make WordPress Core


Ignore:
Timestamp:
03/10/2007 03:56:35 AM (18 years ago)
Author:
ryan
Message:

Title filtering from jhodgdon. fixes #3926

File:
1 edited

Legend:

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

    r4990 r5013  
    581581
    582582        $cat_name = attribute_escape( $category->cat_name);
     583        $cat_name = apply_filters( 'list_cats', $cat_name, $category );
    583584        $link = '<a href="' . get_category_link( $category->cat_ID ) . '" ';
    584585        if ( $use_desc_for_title == 0 || empty($category->category_description) )
     
    587588            $link .= 'title="' . attribute_escape( apply_filters( 'category_description', $category->category_description, $category )) . '"';
    588589        $link .= '>';
    589         $link .= apply_filters( 'list_cats', $category->cat_name, $category ).'</a>';
     590        $link .= $cat_name . '</a>';
    590591
    591592        if ( (! empty($feed_image)) || (! empty($feed)) ) {
Note: See TracChangeset for help on using the changeset viewer.