← All changes
|
includes/widgets/Pricing_Table/Pricing_Table.php
+2
-2
51.1.65
→
51.1.86
View file →
| @@ -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') { |