PluginProbe
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets / 4.5.6
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets v4.5.6
4.5.6 4.5.5 4.5.4 4.2.1 4.2.2 4.2.3 4.5.0 4.5.2 4.5.3 4.2.0 4.1.18 4.1.17 4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.0.9 4.1.0 4.1.1 4.1.2 All 148 releases
← All changes | modules/category-carousel/widgets/category-carousel.php +5 -2 4.1.9 → 4.5.6 View file →
@@ -184,8 +184,9 @@
184 184 $this->add_group_control(
185 185 Group_Control_Image_Size::get_type(),
186 186 [
187 187 'name' => 'primary_thumbnail',
188 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
188 189 'exclude' => ['custom'],
189 190 'default' => 'medium',
190 191 ]
191 192 );
@@ -374,9 +375,9 @@
374 375 [
375 376 'label' => esc_html__('Glassmorphism', 'ultimate-post-kit'),
376 377 'type' => Controls_Manager::SWITCHER,
377 378 // translators: %1s: Opening anchor tag with link to MDN backdrop-filter documentation, %2s: Closing anchor tag
378 - '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>'),
379 + '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>'),
379 380 'default' => 'yes',
380 381 'condition' => [
381 382 'skin_layout' => [
382 383 'style-5',
@@ -725,8 +726,9 @@
725 726 Group_Control_Typography::get_type(),
726 727 [
727 728 'name' => 'category_typography',
728 729 'label' => esc_html__('Typography', 'ultimate-post-kit'),
730 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
729 731 'exclude' => ['line_height'],
730 732 'selector' => '{{WRAPPER}} .upk-category-carousel .upk-item .upk-content .title',
731 733 ]
732 734 );
@@ -895,9 +897,9 @@
895 897 $image_src = $image_src[0];
896 898 }
897 899
898 900 ?>
899 - <img class="upk-category-carousel-img" src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_html(get_the_title()); ?>">
901 + <img class="upk-category-carousel-img" src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_attr(get_the_title()); ?>">
900 902 <?php
901 903 }
902 904
903 905 public function render_header() {
@@ -923,8 +925,9 @@
923 925 'taxonomy' => $settings["taxonomy"],
924 926 'orderby' => $settings["orderby"],
925 927 'order' => $settings["order"],
926 928 // 'include' => explode(',', esc_attr($settings["include"])),
929 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
927 930 'exclude' => explode(',', esc_attr($settings["exclude"])),
928 931 'parent' => $settings["parent"],
929 932 'hide_empty' => 0,
930 933 ]