Apply the list_cats filter to the cat name. Credit: Jaykul. http://wordpress.org/support/4/6242

git-svn-id: https://develop.svn.wordpress.org/trunk@1375 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-05-31 22:09:38 +00:00
parent a807cd1fad
commit 013c08307a
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde
$link .= 'title="' . htmlspecialchars($category->category_description) . '"'; $link .= 'title="' . htmlspecialchars($category->category_description) . '"';
} }
$link .= '>'; $link .= '>';
$link .= stripslashes($category->cat_name).'</a>'; $link .= apply_filters('list_cats', stripslashes($category->cat_name)).'</a>';
if ( (! empty($feed_image)) || (! empty($feed)) ) { if ( (! empty($feed_image)) || (! empty($feed)) ) {