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/alice-carousel/widgets/alice-carousel.php +11 -10 4.1.15 → 4.5.6 View file →
@@ -170,8 +170,9 @@
170 170 $this->add_group_control(
171 171 Group_Control_Image_Size::get_type(),
172 172 [
173 173 'name' => 'primary_thumbnail',
174 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
174 175 'exclude' => ['custom'],
175 176 'default' => 'medium',
176 177 ]
177 178 );
@@ -286,9 +287,9 @@
286 287 'label' => esc_html__('Content Padding', 'ultimate-post-kit'),
287 288 'type' => Controls_Manager::DIMENSIONS,
288 289 'size_units' => ['px', 'em', '%'],
289 290 'selectors' => [
290 - '{{WRAPPER}} .upk-alice-carousel .upk-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
291 + '{{WRAPPER}} .upk-alice-carousel .upk-item-box .upk-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
291 292 ],
292 293 ]
293 294 );
294 295
@@ -306,9 +307,9 @@
306 307 [
307 308 'label' => esc_html__('Glassmorphism', 'ultimate-post-kit'),
308 309 'type' => Controls_Manager::SWITCHER,
309 310 // translators: %1s: Opening anchor tag with link to MDN backdrop-filter documentation, %2s: Closing anchor tag
310 - '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>'),
311 + '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>'),
311 312 ]
312 313 );
313 314
314 315 $this->add_control(
@@ -349,9 +350,9 @@
349 350 $this->add_group_control(
350 351 Group_Control_Border::get_type(),
351 352 [
352 353 'name' => 'item_border',
353 - 'selector' => '{{WRAPPER}} .upk-alice-carousel .upk-item',
354 + 'selector' => '{{WRAPPER}} .upk-alice-carousel .upk-item-box',
354 355 ]
355 356 );
356 357
357 358 $this->add_responsive_control(
@@ -372,9 +373,9 @@
372 373 'label' => esc_html__('Padding', 'ultimate-post-kit'),
373 374 'type' => Controls_Manager::DIMENSIONS,
374 375 'size_units' => ['px', 'em', '%'],
375 376 'selectors' => [
376 - '{{WRAPPER}} .upk-alice-carousel .upk-item' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
377 + '{{WRAPPER}} .upk-alice-carousel .upk-item-box' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
377 378 ],
378 379 ]
379 380 );
380 381
@@ -381,9 +382,9 @@
381 382 $this->add_group_control(
382 383 Group_Control_Box_Shadow::get_type(),
383 384 [
384 385 'name' => 'item_box_shadow',
385 - 'selector' => '{{WRAPPER}} .upk-alice-carousel .upk-item',
386 + 'selector' => '{{WRAPPER}} .upk-alice-carousel .upk-item-box',
386 387 ]
387 388 );
388 389
389 390 $this->end_controls_tab();
@@ -438,9 +439,9 @@
438 439 'condition' => [
439 440 'item_border_border!' => '',
440 441 ],
441 442 'selectors' => [
442 - '{{WRAPPER}} .upk-alice-carousel .upk-item:hover' => 'border-color: {{VALUE}};',
443 + '{{WRAPPER}} .upk-alice-carousel .upk-item-box:hover' => 'border-color: {{VALUE}};',
443 444 ],
444 445 ]
445 446 );
446 447
@@ -447,9 +448,9 @@
447 448 $this->add_group_control(
448 449 Group_Control_Box_Shadow::get_type(),
449 450 [
450 451 'name' => 'item_hover_box_shadow',
451 - 'selector' => '{{WRAPPER}} .upk-alice-carousel .upk-item:hover',
452 + 'selector' => '{{WRAPPER}} .upk-alice-carousel .upk-item-box:hover',
452 453 ]
453 454 );
454 455
455 456 $this->add_responsive_control(
@@ -880,9 +881,9 @@
880 881 $this->render_header_attribute('alice');
881 882
882 883 ?>
883 884 <div <?php $this->print_render_attribute_string('carousel'); ?>>
884 - <div class="upk-content-<?php echo esc_html($settings['content_position']) ?>">
885 + <div class="upk-content-<?php echo esc_attr($settings['content_position']) ?>">
885 886 <div <?php $this->print_render_attribute_string('swiper'); ?>>
886 887 <div class="swiper-wrapper">
887 888 <?php
888 889 }
@@ -907,14 +908,14 @@
907 908 <?php $this->render_title(substr($this->get_name(), 4)); ?>
908 909 <?php if ($settings['show_author'] or $settings['show_date'] or $settings['show_reading_time']) : ?>
909 910 <div class="upk-meta">
910 911 <?php $this->render_author(); ?>
911 - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
912 + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
912 913 <?php $this->render_date(); ?>
913 914 </div>
914 915 <?php if (_is_upk_pro_activated()) :
915 916 if ('yes' === $settings['show_reading_time']) : ?>
916 - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
917 + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
917 918 <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?>
918 919 </div>
919 920 <?php endif; ?>
920 921 <?php endif; ?>