Bug: incorrect application of widget_title filter
-
Hi and thanks for the plugin.
I’ve come across a bug. On line 472 of wordpress-popular-posts.php you use
apply_filters
on thewidget_title
, but you don’t include all the arguments for this filter (see https://codex.www.ads-software.com/Plugin_API/Filter_Reference/widget_title), which breaks any other plugin that depends on information in the second or third arguments.For example, I have a plugin that allows me to wrap the title of any widget in an
<a></a>
element, but it won’t work without access to the second argument,$instance
.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug: incorrect application of widget_title filter’ is closed to new replies.