| @@ -151,8 +151,9 @@ | ||
| 151 | 151 | $this->add_group_control( |
| 152 | 152 | Group_Control_Image_Size::get_type(), |
| 153 | 153 | [ |
| 154 | 154 | 'name' => 'primary_thumbnail', |
| 155 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 155 | 156 | 'exclude' => ['custom'], |
| 156 | 157 | 'default' => 'full', |
| 157 | 158 | ] |
| 158 | 159 | ); |
| @@ -1566,9 +1567,9 @@ | ||
| 1566 | 1567 | return; |
| 1567 | 1568 | } |
| 1568 | 1569 | ?> |
| 1569 | 1570 | <div class="upk-category" data-swiper-parallax-x="-150" data-swiper-parallax-duration="1000"> |
| 1570 | - <?php echo upk_get_category($this->get_settings('posts_source')); ?> | |
| 1571 | + <?php echo wp_kses_post( upk_get_category($this->get_settings('posts_source')) ); ?> | |
| 1571 | 1572 | </div> |
| 1572 | 1573 | <?php |
| 1573 | 1574 | } |
| 1574 | 1575 | |