| @@ -179,8 +179,9 @@ | ||
| 179 | 179 | $this->add_group_control( |
| 180 | 180 | Group_Control_Image_Size::get_type(), |
| 181 | 181 | [ |
| 182 | 182 | 'name' => 'primary_thumbnail', |
| 183 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 183 | 184 | 'exclude' => ['custom'], |
| 184 | 185 | 'default' => 'medium', |
| 185 | 186 | ] |
| 186 | 187 | ); |
| @@ -315,9 +316,9 @@ | ||
| 315 | 316 | [ |
| 316 | 317 | 'label' => esc_html__('Glassmorphism', 'ultimate-post-kit'), |
| 317 | 318 | 'type' => Controls_Manager::SWITCHER, |
| 318 | 319 | // translators: %1s: Opening anchor tag with link to MDN backdrop-filter documentation, %2s: Closing anchor tag |
| 319 | - 'description' => sprintf(__('This feature will not work in the Firefox browser untill you enable browser compatibility so please %1s look here %2s', 'ultimate-post-kit'), '<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility" target="_blank">', '</a>'), | |
| 320 | + 'description' => sprintf(__('This feature will not work in the Firefox browser untill you enable browser compatibility so please %1$s look here %2$s', 'ultimate-post-kit'), '<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility" target="_blank">', '</a>'), | |
| 320 | 321 | 'default' => 'yes', |
| 321 | 322 | 'condition' => [ |
| 322 | 323 | 'content_style' => '2', |
| 323 | 324 | ] |
| @@ -945,9 +946,9 @@ | ||
| 945 | 946 | |
| 946 | 947 | ?> |
| 947 | 948 | <div class="upk-blog-badge"> |
| 948 | 949 | <span> |
| 949 | - <?php echo upk_get_category($this->get_settings('posts_source')); ?> | |
| 950 | + <?php echo wp_kses_post( upk_get_category($this->get_settings('posts_source')) ); ?> | |
| 950 | 951 | </span> |
| 951 | 952 | </div> |
| 952 | 953 | <?php |
| 953 | 954 | } |