mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
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:
parent
29eb1e9a2b
commit
7dac9e0a80
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user