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
This commit is contained in:
parent
81e213c211
commit
cf17e68308
|
@ -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']) )
|
||||
|
|
Loading…
Reference in New Issue