From eff3b8925b9c501551d983b356fa709fc161cbce Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 19 Jan 2015 08:26:24 +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. Built from https://develop.svn.wordpress.org/trunk@31241 git-svn-id: http://core.svn.wordpress.org/trunk@31222 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-widgets.php | 30 +++++++++++++++++++++++++----- wp-includes/version.php | 2 +- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index 180e0744d9..b21ffa3f03 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -287,8 +287,6 @@ class WP_Widget_Archives extends WP_Widget { if ( $d ) { ?>