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