WP-Magic-Widgets icon indicating copy to clipboard operation
WP-Magic-Widgets copied to clipboard

'tmw_after_show_widget' is not called when visibility is empty

Open thefuxia opened this issue 10 years ago • 0 comments

This part in Unfiltered_Text_Widget::widget() returns too early:

if ( empty ( $instance[ 'visibility' ] ) ) {
    print $instance[ 'text' ];
    return;
}

The action tmw_after_show_widget is not called because of this.

thefuxia avatar Oct 26 '14 04:10 thefuxia