WP-Magic-Widgets
WP-Magic-Widgets copied to clipboard
'tmw_after_show_widget' is not called when visibility is empty
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.