| @@ -109,8 +109,9 @@ | ||
| 109 | 109 | $this->add_group_control( |
| 110 | 110 | Group_Control_Image_Size::get_type(), |
| 111 | 111 | [ |
| 112 | 112 | 'name' => 'primary_thumbnail', |
| 113 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 113 | 114 | 'exclude' => ['custom'], |
| 114 | 115 | 'default' => 'full', |
| 115 | 116 | ] |
| 116 | 117 | ); |
| @@ -861,9 +862,9 @@ | ||
| 861 | 862 | return; |
| 862 | 863 | } |
| 863 | 864 | ?> |
| 864 | 865 | <div class="upk-noxe-category" data-swiper-parallax-opacity="0.5"> |
| 865 | - <?php echo upk_get_category($this->get_settings('posts_source')); ?> | |
| 866 | + <?php echo wp_kses_post( upk_get_category($this->get_settings('posts_source')) ); ?> | |
| 866 | 867 | </div> |
| 867 | 868 | <?php |
| 868 | 869 | } |
| 869 | 870 | |