From 8fc9384fc4856593fd4a1a8ca42daf2574bdc3ab Mon Sep 17 00:00:00 2001 From: Rens Date: Sat, 17 Mar 2018 01:35:12 +0100 Subject: [PATCH] undefined form_button_icon --- includes/class-shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-shortcodes.php b/includes/class-shortcodes.php index 806d2da8..90fd06de 100644 --- a/includes/class-shortcodes.php +++ b/includes/class-shortcodes.php @@ -3342,7 +3342,7 @@ public static function button( $tag, $atts, $inner, $shortcodes, $settings ) { $icon_option = $settings['form_button_icon_option']; $icon_visibility = $settings['form_button_icon_visibility']; $icon_animation = $settings['form_button_icon_animation']; - $icon = $settings['form_button_icon']; + $icon = (isset($settings['form_button_icon']) ? $settings['form_button_icon'] : ''); $color = $settings['theme_button_color']; $color_hover = $settings['theme_button_color_hover']; $font = $settings['theme_button_font'];