mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15316 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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']) )
|
||||
|
||||
Reference in New Issue
Block a user