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/carbon-slider/widgets/carbon-slider.php +11 -7 4.1.13 → 4.5.6 View file →
@@ -149,8 +149,9 @@
149 149 $this->add_group_control(
150 150 Group_Control_Image_Size::get_type(),
151 151 [
152 152 'name' => 'primary_thumbnail',
153 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
153 154 'exclude' => ['custom'],
154 155 'default' => 'full',
155 156 'condition' => [
156 157 'show_image' => 'yes'
@@ -289,10 +290,13 @@
289 290
290 291 $this->add_control(
291 292 'pauseonhover',
292 293 [
293 - 'label' => esc_html__('Pause on Hover', 'ultimate-post-kit'),
294 - 'type' => Controls_Manager::SWITCHER,
294 + 'label' => esc_html__('Pause on Hover', 'ultimate-post-kit'),
295 + 'type' => Controls_Manager::SWITCHER,
296 + 'condition' => [
297 + 'autoplay' => 'yes',
298 + ],
295 299 ]
296 300 );
297 301
298 302 $this->add_control(
@@ -1364,9 +1368,9 @@
1364 1368 <div class="upk-meta" data-swiper-parallax-x="-300" data-swiper-parallax-duration="1000">
1365 1369 <?php $this->render_author(); ?>
1366 1370 <?php if (_is_upk_pro_activated()) :
1367 1371 if ('yes' === $settings['show_reading_time']) : ?>
1368 - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1372 + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1369 1373 <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?>
1370 1374 </div>
1371 1375 <?php endif; ?>
1372 1376 <?php endif; ?>
@@ -1371,9 +1375,9 @@
1371 1375 <?php endif; ?>
1372 1376 <?php endif; ?>
1373 1377
1374 1378 <?php if ($settings['show_comments']) : ?>
1375 - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1379 + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1376 1380 <?php $this->render_comments($post_id); ?>
1377 1381 </div>
1378 1382 <?php endif; ?>
1379 1383 </div>
@@ -1418,9 +1422,9 @@
1418 1422
1419 1423 $this->add_render_attribute('swiper-thumbs', 'class', 'upk-carbon-thumbs swiper');
1420 1424
1421 1425 ?>
1422 - <div class="upk-carbon-slider-wrap" id="<?php echo esc_html($id_wrapper); ?>">
1426 + <div class="upk-carbon-slider-wrap" id="<?php echo esc_attr($id_wrapper); ?>">
1423 1427 <?php
1424 1428
1425 1429 $this->render_header();
1426 1430
@@ -1449,12 +1453,12 @@
1449 1453 </div>
1450 1454 <?php if ($settings['show_navigation']) : ?>
1451 1455 <div class="upk-navigation-wrap">
1452 1456 <div class="upk-navigation-button upk-navigation-prev">
1453 - <i class="upk-icon-arrow-left-<?php echo esc_html($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1457 + <i class="upk-icon-arrow-left-<?php echo esc_attr($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1454 1458 </div>
1455 1459 <div class="upk-navigation-button upk-navigation-next">
1456 - <i class="upk-icon-arrow-right-<?php echo esc_html($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1460 + <i class="upk-icon-arrow-right-<?php echo esc_attr($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1457 1461 </div>
1458 1462 </div>
1459 1463 <?php endif; ?>
1460 1464