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/snog-slider/widgets/snog-slider.php +14 -7 4.1.13 → 4.5.6 View file →
@@ -162,8 +162,9 @@
162 162 $this->add_group_control(
163 163 Group_Control_Image_Size::get_type(),
164 164 [
165 165 'name' => 'primary_thumbnail',
166 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
166 167 'exclude' => ['custom'],
167 168 'default' => 'full',
168 169 ]
169 170 );
@@ -243,9 +244,9 @@
243 244
244 245 $this->add_control(
245 246 'show_readmore',
246 247 [
247 - 'label' => esc_html__('Show Read more', 'ultimate-post-kit'),
248 + 'label' => esc_html__('Show Read More', 'ultimate-post-kit'),
248 249 'type' => Controls_Manager::SWITCHER,
249 250 'default' => 'yes',
250 251 'separator' => 'before'
251 252 ]
@@ -357,10 +358,13 @@
357 358
358 359 $this->add_control(
359 360 'pauseonhover',
360 361 [
361 - 'label' => esc_html__( 'Pause on Hover', 'ultimate-post-kit' ),
362 - 'type' => Controls_Manager::SWITCHER,
362 + 'label' => esc_html__( 'Pause on Hover', 'ultimate-post-kit' ),
363 + 'type' => Controls_Manager::SWITCHER,
364 + 'condition' => [
365 + 'autoplay' => 'yes',
366 + ],
363 367 ]
364 368 );
365 369
366 370 $this->add_control(
@@ -915,8 +919,11 @@
915 919 'section_style_link_btn',
916 920 [
917 921 'label' => esc_html__('Read More', 'ultimate-post-kit'),
918 922 'tab' => Controls_Manager::TAB_STYLE,
923 + 'condition' => [
924 + 'show_readmore' => 'yes'
925 + ],
919 926 ]
920 927 );
921 928
922 929 $this->start_controls_tabs('tabs_link_btn_style');
@@ -1492,9 +1499,9 @@
1492 1499 <div class="upk-meta" data-swiper-parallax-x ="-60" data-swiper-parallax-duration="600">
1493 1500 <?php $this->render_author(); ?>
1494 1501
1495 1502 <?php if ($settings['show_date'] == 'yes') : ?>
1496 - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1503 + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1497 1504 <?php $this->render_date(); ?>
1498 1505 </div>
1499 1506 <?php endif; ?>
1500 1507
@@ -1499,9 +1506,9 @@
1499 1506 <?php endif; ?>
1500 1507
1501 1508 <?php if (_is_upk_pro_activated()) :
1502 1509 if ('yes' === $settings['show_reading_time']) : ?>
1503 - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1510 + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1504 1511 <?php echo esc_html( ultimate_post_kit_reading_time(get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no') ); ?>
1505 1512 </div>
1506 1513 <?php endif; ?>
1507 1514 <?php endif; ?>
@@ -1604,12 +1611,12 @@
1604 1611
1605 1612 <?php if ($settings['show_navigation']) : ?>
1606 1613 <div class="upk-navigation-wrap">
1607 1614 <div class="upk-nav-btn upk-navigation-prev">
1608 - <i class="upk-icon-arrow-left-<?php echo esc_html($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1615 + <i class="upk-icon-arrow-left-<?php echo esc_attr($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1609 1616 </div>
1610 1617 <div class="upk-nav-btn upk-navigation-next">
1611 - <i class="upk-icon-arrow-right-<?php echo esc_html($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1618 + <i class="upk-icon-arrow-right-<?php echo esc_attr($settings['nav_arrows_icon']); ?>" aria-hidden="true"></i>
1612 1619 </div>
1613 1620 </div>
1614 1621 <?php endif; ?>
1615 1622 </div>