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/hazel-grid/widgets/hazel-grid.php +5 -3 4.1.13 → 4.5.6 View file →
@@ -104,8 +104,9 @@
104 104 ],
105 105 ]
106 106 );
107 107
108 + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- established hook name relied on across the plugin family; renaming would break integration.
108 109 $column_size = apply_filters('upk_column_size', '');
109 110
110 111 $this->add_responsive_control(
111 112 'columns',
@@ -263,8 +264,9 @@
263 264 $this->add_group_control(
264 265 Group_Control_Image_Size::get_type(),
265 266 [
266 267 'name' => 'primary_thumbnail',
268 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
267 269 'exclude' => ['custom'],
268 270 'default' => 'medium',
269 271 ]
270 272 );
@@ -453,9 +455,9 @@
453 455 [
454 456 'label' => esc_html__('Glassmorphism', 'ultimate-post-kit'),
455 457 'type' => Controls_Manager::SWITCHER,
456 458 // translators: %1s: Opening anchor tag with link to MDN backdrop-filter documentation, %2s: Closing anchor tag
457 - '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>'),
459 + '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>'),
458 460 'default' => 'yes',
459 461 'condition' => [
460 462 'content_style' => '2',
461 463 ]
@@ -1050,9 +1052,9 @@
1050 1052 <div class="upk-meta">
1051 1053 <?php $this->render_author(); ?>
1052 1054
1053 1055 <?php if ($settings['show_date']) : ?>
1054 - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1056 + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1055 1057 <div class="upk-date">
1056 1058 <i class="upk-icon-calendar" aria-hidden="true"></i><?php $this->render_date(); ?>
1057 1059 </div>
1058 1060
@@ -1066,9 +1068,9 @@
1066 1068 <?php endif; ?>
1067 1069
1068 1070 <?php if (_is_upk_pro_activated()) :
1069 1071 if ('yes' === $settings['show_reading_time']) : ?>
1070 - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1072 + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1071 1073 <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?>
1072 1074 </div>
1073 1075 <?php endif; ?>
1074 1076 <?php endif; ?>