← All changes
|
modules/static-social-count/widgets/static-social-count.php
+5
-1
4.0.9
→
4.5.6
View file →
| @@ -160,8 +160,9 @@ | ||
| 160 | 160 | 'social_site_link', |
| 161 | 161 | [ |
| 162 | 162 | 'label' => esc_html__('Link', 'ultimate-post-kit'), |
| 163 | 163 | 'type' => Controls_Manager::URL, |
| 164 | + 'dynamic' => [ 'active' => true ], | |
| 164 | 165 | 'placeholder' => esc_html__('https://facebook.com', 'ultimate-post-kit'), |
| 165 | 166 | 'show_external' => true, |
| 166 | 167 | 'default' => [ |
| 167 | 168 | 'url' => 'https://bdthemes.com', |
| @@ -278,8 +279,9 @@ | ||
| 278 | 279 | [ |
| 279 | 280 | 'name' => 'social_single_item_bg', |
| 280 | 281 | 'label' => esc_html__('Background', 'ultimate-post-kit'), |
| 281 | 282 | 'types' => ['classic', 'gradient'], |
| 283 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 282 | 284 | 'exclude' => ['image'], |
| 283 | 285 | 'selector' => '{{WRAPPER}} .upk-static-social-count {{CURRENT_ITEM}}.upk-item', |
| 284 | 286 | ] |
| 285 | 287 | ); |
| @@ -479,8 +481,9 @@ | ||
| 479 | 481 | [ |
| 480 | 482 | 'name' => 'social_static_background', |
| 481 | 483 | 'label' => esc_html__('Background', 'ultimate-post-kit'), |
| 482 | 484 | 'types' => ['classic', 'gradient'], |
| 485 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 483 | 486 | 'exclude' => ['image'], |
| 484 | 487 | 'selector' => '{{WRAPPER}} .upk-static-social-count .upk-item', |
| 485 | 488 | ] |
| 486 | 489 | ); |
| @@ -535,8 +538,9 @@ | ||
| 535 | 538 | [ |
| 536 | 539 | 'name' => 'static_social_hover_bg', |
| 537 | 540 | 'label' => esc_html__('Background', 'ultimate-post-kit'), |
| 538 | 541 | 'types' => ['classic', 'gradient'], |
| 542 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 539 | 543 | 'exclude' => ['image'], |
| 540 | 544 | 'selector' => '{{WRAPPER}} .upk-static-social-count .upk-item:hover', |
| 541 | 545 | ] |
| 542 | 546 | ); |
| @@ -814,9 +818,9 @@ | ||
| 814 | 818 | } |
| 815 | 819 | ?> |
| 816 | 820 | <a <?php $this->print_render_attribute_string($link_key); ?>> |
| 817 | 821 | <div class="upk-icon"> |
| 818 | - <span title="<?php echo esc_html($social_link['social_site_name']); ?>"> | |
| 822 | + <span title="<?php echo esc_attr($social_link['social_site_name']); ?>"> | |
| 819 | 823 | <?php Icons_Manager::render_icon($social_link['social_site_icon'], ['aria-hidden' => 'true']); ?> |
| 820 | 824 | </span> |
| 821 | 825 | </div> |
| 822 | 826 | <div class="upk-content"> |