From 013c08307a6dd97576178a69500b4643fbff969b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 31 May 2004 22:09:38 +0000 Subject: [PATCH] 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 --- wp-includes/template-functions-category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index 59f21e7e56..a4bb9a4796 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -351,7 +351,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde $link .= 'title="' . htmlspecialchars($category->category_description) . '"'; } $link .= '>'; - $link .= stripslashes($category->cat_name).''; + $link .= apply_filters('list_cats', stripslashes($category->cat_name)).''; if ( (! empty($feed_image)) || (! empty($feed)) ) {