[wp-cvs]
wordpress/wp-includes template-functions-category.php, 1.47, 1.48
Ryan Boren
rboren at users.sourceforge.net
Fri Jan 21 03:06:59 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18478
Modified Files:
template-functions-category.php
Log Message:
Filter category description. Bug 727. Hat tip: dmclark
Index: template-functions-category.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-category.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** template-functions-category.php 7 Jan 2005 22:01:59 -0000 1.47
--- template-functions-category.php 21 Jan 2005 03:06:56 -0000 1.48
***************
*** 328,332 ****
$link .= 'title="'. sprintf(__("View all posts filed under %s"), wp_specialchars($category->cat_name)) . '"';
} else {
! $link .= 'title="' . wp_specialchars($category->category_description) . '"';
}
$link .= '>';
--- 328,332 ----
$link .= 'title="'. sprintf(__("View all posts filed under %s"), wp_specialchars($category->cat_name)) . '"';
} else {
! $link .= 'title="' . wp_specialchars(apply_filters('category_description',$category->category_description)) . '"';
}
$link .= '>';
More information about the cvs
mailing list