Support » Plugin: Gecka Submenu » Gecka Submenu Custom Menu Widget applies widget_title filter twice

  • I want to start by saying this plugin is great. However, I just noticed that the widget_title filter is applied twice in models/Submenu.php, on line 84 and line 89:

    84: $title = apply_filters('widget_title', $title, $instance);
    88: if($title) {
    89: 	echo $before_title . apply_filters('widget_title', $title, $instance) . $after_title;
    90: }

    I’ve removed line 84 from my local copy of the plugin, and it seems to fix the issue. But I don’t want to risk updating the plugin in the future and overwriting the customization, only to have my widget_title filter be applied twice (ruining my widget title output).

    I hope the author will consider this modification in the next update of this plugin.

    Thank you.

    http://wordpress.org/extend/plugins/gecka-submenu/

  • The topic ‘Gecka Submenu Custom Menu Widget applies widget_title filter twice’ is closed to new replies.