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/ramble-grid/widgets/ramble-grid.php +5 -4 4.1.9 → 4.5.6 View file →
@@ -152,8 +152,9 @@
152 152 $this->add_group_control(
153 153 Group_Control_Image_Size::get_type(),
154 154 [
155 155 'name' => 'primary_thumbnail',
156 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
156 157 'exclude' => ['custom'],
157 158 'default' => 'medium',
158 159 ]
159 160 );
@@ -1281,9 +1282,9 @@
1281 1282
1282 1283 <?php if ($settings['show_date'] or $settings['show_reading_time']) : ?>
1283 1284 <div class="upk-date-reading-time upk-flex upk-flex-middle">
1284 1285 <?php if ($settings['show_date'] == 'yes') : ?>
1285 - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1286 + <div data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1286 1287 <?php $this->render_date(); ?>
1287 1288 </div>
1288 1289 <?php endif; ?>
1289 1290
@@ -1288,9 +1289,9 @@
1288 1289 <?php endif; ?>
1289 1290
1290 1291 <?php if (_is_upk_pro_activated()) :
1291 1292 if ('yes' === $settings['show_reading_time']) : ?>
1292 - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1293 + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1293 1294 <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?>
1294 1295 </div>
1295 1296 <?php endif; ?>
1296 1297 <?php endif; ?>
@@ -1329,14 +1330,14 @@
1329 1330
1330 1331 $animation = ($this->get_settings('readmore_hover_animation')) ? ' elementor-animation-' . $this->get_settings('readmore_hover_animation') : '';
1331 1332
1332 1333 ?>
1333 - <a href="<?php echo esc_url(get_permalink()); ?>" class="upk-readmore <?php echo esc_html($animation); ?>">
1334 + <a href="<?php echo esc_url(get_permalink()); ?>" class="upk-readmore <?php echo esc_attr($animation); ?>">
1334 1335 <span class="upk-flex upk-flex-middle">
1335 1336 <?php echo esc_html($this->get_settings('readmore_text')); ?>
1336 1337
1337 1338 <?php if ($settings['readmore_icon']['value']) : ?>
1338 - <span class="upk-readmore-btn-icon upk-flex-align-<?php echo esc_html($this->get_settings('icon_align')); ?>">
1339 + <span class="upk-readmore-btn-icon upk-flex-align-<?php echo esc_attr($this->get_settings('icon_align')); ?>">
1339 1340
1340 1341 <?php Icons_Manager::render_icon($settings['readmore_icon'], ['aria-hidden' => 'true', 'class' => 'fa-fw']); ?>
1341 1342
1342 1343 </span>