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

git-svn-id: https://develop.svn.wordpress.org/trunk@5144 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-03-30 23:46:17 +00:00
parent d7d36ff890
commit 362760a485
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);