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:
parent
d7d36ff890
commit
362760a485
@ -425,7 +425,7 @@ function wp_get_archives($args = '') {
|
|||||||
$url = get_permalink($arcresult);
|
$url = get_permalink($arcresult);
|
||||||
$arc_title = $arcresult->post_title;
|
$arc_title = $arcresult->post_title;
|
||||||
if ( $arc_title )
|
if ( $arc_title )
|
||||||
$text = strip_tags($arc_title);
|
$text = strip_tags(apply_filters('the_title', $arc_title));
|
||||||
else
|
else
|
||||||
$text = $arcresult->ID;
|
$text = $arcresult->ID;
|
||||||
echo get_archives_link($url, $text, $format, $before, $after);
|
echo get_archives_link($url, $text, $format, $before, $after);
|
||||||
|
Loading…
Reference in New Issue
Block a user