From ee85c4626da06ee7c5e3248c62c8015f05f6c1bd Mon Sep 17 00:00:00 2001 From: Virginia Garcia Date: Wed, 13 Nov 2019 13:20:39 -0300 Subject: [PATCH] * Fix - Fixing the ` Undefined variable: col_enabled` error. --- classes/class-lsx-testimonials-widget.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/class-lsx-testimonials-widget.php b/classes/class-lsx-testimonials-widget.php index f8ca8dd..a48092d 100755 --- a/classes/class-lsx-testimonials-widget.php +++ b/classes/class-lsx-testimonials-widget.php @@ -162,6 +162,7 @@ public function form( $instance ) { 'button_text' => '', 'carousel' => 1, 'featured' => 0, + 'col_enabled' => 0, ); $instance = wp_parse_args( (array) $instance, $defaults ); @@ -180,7 +181,8 @@ public function form( $instance ) { $show_image = esc_attr( $instance['show_image'] ); $button_text = esc_attr( $instance['button_text'] ); $carousel = esc_attr( $instance['carousel'] ); - $featured = esc_attr( $instance['featured'] ); ?> + $featured = esc_attr( $instance['featured'] ); + $col_enabled = esc_attr( $instance['col_enabled'] ); ?>