mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user