Gecka Submenu
Gecka Submenu Custom Menu Widget applies widget_title filter twice (1 post)

  1. devon
    Posted 4 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gecka Submenu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic