| @@ -160,8 +160,9 @@ | ||
| 160 | 160 | $this->add_group_control( |
| 161 | 161 | Group_Control_Image_Size::get_type(), |
| 162 | 162 | [ |
| 163 | 163 | 'name' => 'primary_thumbnail', |
| 164 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 164 | 165 | 'exclude' => ['custom'], |
| 165 | 166 | 'default' => 'full', |
| 166 | 167 | 'separator' => 'after', |
| 167 | 168 | ] |
| @@ -1457,9 +1458,9 @@ | ||
| 1457 | 1458 | return; |
| 1458 | 1459 | } |
| 1459 | 1460 | ?> |
| 1460 | 1461 | <div class="upk-category"> |
| 1461 | - <?php echo upk_get_category($this->get_settings('posts_source')); ?> | |
| 1462 | + <?php echo wp_kses_post( upk_get_category($this->get_settings('posts_source')) ); ?> | |
| 1462 | 1463 | </div> |
| 1463 | 1464 | <?php |
| 1464 | 1465 | } |
| 1465 | 1466 | |