From cf17e683084a492cf5d51b31bb79c2bd6e79edbd Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 24 Jun 2010 15:07:11 +0000 Subject: [PATCH] Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1 git-svn-id: http://svn.automattic.com/wordpress/trunk@15316 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-widgets.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index 47e06860a7..2c9ec06724 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -1067,6 +1067,8 @@ class WP_Widget_Tag_Cloud extends WP_Widget { if ( !$nav_menu ) return; + $instance['title'] = apply_filters('widget_title', $instance['title'], $instance, $this->id_base); + echo $args['before_widget']; if ( !empty($instance['title']) )