From 7dac9e0a80c836826acd69bec16bd4463da1edab Mon Sep 17 00:00:00 2001 From: rob1n Date: Fri, 30 Mar 2007 23:46:17 +0000 Subject: [PATCH] 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 --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 29f99d3e3e..7b08d99ab7 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -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);