381 | | if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?> |
382 | | <div class="textwidget"><?php echo !empty( $instance['filter'] ) ? wpautop( $text ) : $text; ?></div> |
| 381 | if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } |
| 382 | $text = !empty( $instance['filter'] ) ? wpautop( $text ) : $text; |
| 383 | if ( ! has_filter( 'widget_text', 'do_shortcode' ) ) |
| 384 | $text = do_shortcode( shortcode_unautop( $text ) ); |
| 385 | ?> |
| 386 | <div class="textwidget"><?php echo $text; ?></div> |