From 352be0b4329946abf61b5572e425046a5f8165e2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 19 Jan 2015 08:25:36 +0000 Subject: [PATCH] Display correct title in Archives widget if the type of archive was changed using the 'widget_archives_dropdown_args' filter. props floriansimeth for initial patch. fixes #31024. git-svn-id: https://develop.svn.wordpress.org/trunk@31241 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/default-widgets.php | 30 ++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/default-widgets.php b/src/wp-includes/default-widgets.php index 180e0744d9..b21ffa3f03 100644 --- a/src/wp-includes/default-widgets.php +++ b/src/wp-includes/default-widgets.php @@ -287,8 +287,6 @@ class WP_Widget_Archives extends WP_Widget { if ( $d ) { ?>