PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.86
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.86
51.1.86 51.1.84 51.1.85 51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 All 40 releases
← All changes | includes/widgets/Pricing_Table/Pricing_Table.php +9 -9 51.1.36 → 51.1.86 View file →
@@ -675,15 +675,15 @@
675 675 [
676 676 'type_select' => 'text',
677 677 ],
678 678 ],
679 - 'title_field' => '<# if( "feature" === type_select ) { #> Feature - {{{ feature_text }}} <# }
680 - else if( "heading" === type_select ) { #> Heading - {{{ heading_title }}} <# }
681 - else if( "price" === type_select ) { #> Price - {{{ price }}} <# }
682 - else if( "text" === type_select ) { #> Text - {{{ text }}} <# }
683 - else if( "button" === type_select ) { #> Button - {{{ btn_text }}} <# }
684 - else if( "divider" === type_select ) { #> Divider - {{{ divider_style }}} <# }
685 - else {#> {{{ type_select }}} <# } #>',
679 + 'title_field' => '<# if( "feature" === type_select ) { #> Feature - {{ feature_text }} <# }
680 + else if( "heading" === type_select ) { #> Heading - {{ heading_title }} <# }
681 + else if( "price" === type_select ) { #> Price - {{ price }} <# }
682 + else if( "text" === type_select ) { #> Text - {{ text }} <# }
683 + else if( "button" === type_select ) { #> Button - {{ btn_text }} <# }
684 + else if( "divider" === type_select ) { #> Divider - {{ divider_style }} <# }
685 + else {#> {{ type_select }} <# } #>',
686 686 ]
687 687 );
688 688
689 689 $this->end_controls_section();
@@ -2529,9 +2529,9 @@
2529 2529 }
2530 2530
2531 2531 protected function render()
2532 2532 {
2533 - $settings = $this->get_settings();
2533 + $settings = Core::displaySettings($this);
2534 2534 if (empty($settings['pricing_items'])) {
2535 2535 return;
2536 2536 }
2537 2537 ?>
@@ -2693,9 +2693,9 @@
2693 2693 if (!empty($item['btn_id'])) {
2694 2694 $this->add_render_attribute($attr_name, 'id', esc_html($item['btn_id']));
2695 2695 }
2696 2696 ?>
2697 - <a class="king-addons-pricing-table-btn king-addons-button-effect <?php echo esc_html($this->get_settings()['btn_animation']); ?>"
2697 + <a class="king-addons-pricing-table-btn king-addons-button-effect <?php echo esc_attr(sanitize_html_class((string) (Core::displaySettings($this)['btn_animation'] ?? ''))); ?>"
2698 2698 <?php echo $this->get_render_attribute_string($attr_name); ?>>
2699 2699 <span>
2700 2700 <?php
2701 2701 if (!empty($item['select_icon']['value']) && $item['btn_icon_position'] === 'before') {