Filter category description. Bug 727. Hat tip: dmclark

git-svn-id: http://svn.automattic.com/wordpress/trunk@2113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2005-01-21 03:06:56 +00:00
parent 8add0e48f5
commit 375e821211
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde
if ($use_desc_for_title == 0 || empty($category->category_description)) {
$link .= 'title="'. sprintf(__("View all posts filed under %s"), wp_specialchars($category->cat_name)) . '"';
} else {
$link .= 'title="' . wp_specialchars($category->category_description) . '"';
$link .= 'title="' . wp_specialchars(apply_filters('category_description',$category->category_description)) . '"';
}
$link .= '>';
$link .= apply_filters('list_cats', $category->cat_name).'</a>';