Add missing the_title filter call. Props jhodgdon. fixes #4050

git-svn-id: http://svn.automattic.com/wordpress/trunk@5144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-03-30 23:46:17 +00:00
parent 29eb1e9a2b
commit 7dac9e0a80
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ function wp_get_archives($args = '') {
$url = get_permalink($arcresult);
$arc_title = $arcresult->post_title;
if ( $arc_title )
$text = strip_tags($arc_title);
$text = strip_tags(apply_filters('the_title', $arc_title));
else
$text = $arcresult->ID;
echo get_archives_link($url, $text, $format, $before, $after);