Bug in widget_text filter call
-
File: includes/class-contact.php
Line: 205Replace return nl2br( apply_filters( ‘widget_text’, $value ) ); with return nl2br( apply_filters( ‘widget_text’, $value, $instance ) );
Why: widget_text filter needs the widget instance.
- The topic ‘Bug in widget_text filter call’ is closed to new replies.