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/harold-carousel/widgets/harold-carousel.php +4 -3 4.1.13 → 4.5.6 View file →
@@ -128,8 +128,9 @@
128 128 $this->add_group_control(
129 129 Group_Control_Image_Size::get_type(),
130 130 [
131 131 'name' => 'primary_thumbnail',
132 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
132 133 'exclude' => ['custom'],
133 134 'default' => 'medium',
134 135 ]
135 136 );
@@ -844,9 +845,9 @@
844 845 }
845 846
846 847 ?>
847 848
848 - <img class="upk-harold-img" src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_html(get_the_title()); ?>">
849 + <img class="upk-harold-img" src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_attr(get_the_title()); ?>">
849 850
850 851 <?php
851 852 }
852 853
@@ -935,15 +936,15 @@
935 936 <?php if ($settings['show_author'] or $settings['show_date'] or $settings['show_reading_time']) : ?>
936 937 <div class="upk-meta">
937 938 <?php $this->render_author(); ?>
938 939 <?php if ($settings['show_date']) : ?>
939 - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
940 + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
940 941 <?php $this->render_date(); ?>
941 942 </div>
942 943 <?php endif; ?>
943 944 <?php if (_is_upk_pro_activated()) :
944 945 if ('yes' === $settings['show_reading_time']) : ?>
945 - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
946 + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
946 947 <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?>
947 948 </div>
948 949 <?php endif; ?>
949 950 <?php endif; ?>