Support » Plugin: Category Posts Widget » Call to widget title filter is missing parameters

  • Hi,
    In the class categoryPosts\Widget (file class-widget.php) method titleHTML you call apply_filters( 'widget_title', $instance['title'] ); but you do not pass the other two parameters defined for the filter, the $instance and the $id_base (see https://developer.wordpress.org/reference/hooks/widget_title/ for reference).
    This stops functions hooked on to that filter from working properly.

    Please can you correct this.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.