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/news-ticker/widgets/news-ticker.php +8 -6 4.1.2 → 4.5.6 View file →
@@ -290,11 +290,14 @@
290 290
291 291 $this->add_control(
292 292 'pause_on_hover',
293 293 [
294 - 'label' => esc_html__( 'Pause on Hover', 'ultimate-post-kit' ),
295 - 'type' => Controls_Manager::SWITCHER,
296 - 'default' => 'yes',
294 + 'label' => esc_html__( 'Pause on Hover', 'ultimate-post-kit' ),
295 + 'type' => Controls_Manager::SWITCHER,
296 + 'default' => 'yes',
297 + 'condition' => [
298 + 'autoplay' => 'yes',
299 + ],
297 300 ]
298 301 );
299 302
300 303 $this->add_control(
@@ -513,9 +516,8 @@
513 516
514 517 $default = $this->getGroupControlQueryArgs();
515 518 if ( $posts_per_page ) {
516 519 $args['posts_per_page'] = $posts_per_page;
517 - $args['paged'] = max( 1, get_query_var( 'paged' ), get_query_var( 'page' ) );
518 520 }
519 521 $args = array_merge( $default, $args );
520 522 $this->_query = new WP_Query( $args );
521 523 }
@@ -616,9 +618,9 @@
616 618 $news_day = get_the_date('d');
617 619
618 620 ?>
619 621
620 - <span class="upk-news-ticker-date bdt-margin-small-right" title="<?php esc_html_e( 'Published on:', 'ultimate-post-kit' ); ?> <?php echo get_the_date(); ?>">
622 + <span class="upk-news-ticker-date bdt-margin-small-right" title="<?php esc_attr_e( 'Published on:', 'ultimate-post-kit' ); ?> <?php echo esc_attr( get_the_date() ); ?>">
621 623 <?php if ('yes' == $settings['date_reverse']) : ?>
622 624 <span class="upk-news-ticker-date-day"><?php echo wp_kses_post( $news_day ); ?></span>
623 625 <span class="upk-news-ticker-date-sep">/</span>
624 626 <span class="upk-news-ticker-date-month"><?php echo wp_kses_post( $news_month ); ?></span>
@@ -642,9 +644,9 @@
642 644 $news_hour = get_the_time();
643 645
644 646 ?>
645 647
646 - <span class="upk-news-ticker-time bdt-margin-small-right" title="<?php esc_html_e( 'Published on:', 'ultimate-post-kit' ); ?> <?php echo get_the_date(); ?> <?php echo esc_attr( get_the_time() ); ?>">
648 + <span class="upk-news-ticker-time bdt-margin-small-right" title="<?php esc_attr_e( 'Published on:', 'ultimate-post-kit' ); ?> <?php echo esc_attr( get_the_date() ); ?> <?php echo esc_attr( get_the_time() ); ?>">
647 649 <span class="bdt-text-uppercase"><?php echo wp_kses_post( $news_hour ); ?></span>
648 650 <span>:</span>
649 651 </span>
650 652