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/alex-grid/widgets/alex-grid.php +7 -6 4.1.16 → 4.5.6 View file →
@@ -103,8 +103,9 @@
103 103 // } else {
104 104 // $column_size = '';
105 105 // }
106 106
107 + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- established hook name relied on across the plugin family; renaming would break integration.
107 108 $column_size = apply_filters('upk_column_size', '');
108 109
109 110 $this->add_responsive_control(
110 111 'columns',
@@ -252,8 +253,9 @@
252 253 $this->add_group_control(
253 254 Group_Control_Image_Size::get_type(),
254 255 [
255 256 'name' => 'primary_thumbnail',
257 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
256 258 'exclude' => ['custom'],
257 259 'default' => 'medium',
258 260 ]
259 261 );
@@ -477,9 +479,9 @@
477 479 [
478 480 'label' => esc_html__('Glassmorphism', 'ultimate-post-kit'),
479 481 'type' => Controls_Manager::SWITCHER,
480 482 // translators: %1s: Opening anchor tag with link to MDN backdrop-filter documentation, %2s: Closing anchor tag
481 - '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>'),
483 + '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>'),
482 484 'default' => 'yes',
483 485 ]
484 486 );
485 487
@@ -1432,9 +1434,9 @@
1432 1434 [
1433 1435 'label' => esc_html__('Glassmorphism', 'ultimate-post-kit'),
1434 1436 'type' => Controls_Manager::SWITCHER,
1435 1437 // translators: %1s: Opening anchor tag with link to MDN backdrop-filter documentation, %2s: Closing anchor tag
1436 - '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>'),
1438 + '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>'),
1437 1439 'default' => 'yes',
1438 1440 'separator' => 'before'
1439 1441 ]
1440 1442 );
@@ -1468,8 +1470,9 @@
1468 1470 [
1469 1471 'name' => 'post_format_background',
1470 1472 'label' => esc_html__('Background', 'ultimate-post-kit'),
1471 1473 'types' => ['classic', 'gradient'],
1474 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
1472 1475 'exclude' => ['image'],
1473 1476 'selector' => '{{WRAPPER}} .upk-alex-grid .upk-post-format a',
1474 1477 'fields_options' => [
1475 1478 'background' => [
@@ -1623,16 +1626,14 @@
1623 1626 <?php endif; ?>
1624 1627
1625 1628 <div class="upk-flex upk-flex-middle upk-date-reading-wrap">
1626 1629 <?php if ('yes' === $settings['show_date']) : ?>
1627 - <div data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1628 - <?php $this->render_date(); ?>
1629 - </div>
1630 + <?php $this->render_date(); ?>
1630 1631 <?php endif; ?>
1631 1632
1632 1633 <?php if (_is_upk_pro_activated()) :
1633 1634 if ('yes' === $settings['show_reading_time']) : ?>
1634 - <div class="upk-reading-time" data-separator="<?php echo esc_html($settings['meta_separator']); ?>">
1635 + <div class="upk-reading-time" data-separator="<?php echo esc_attr($settings['meta_separator']); ?>">
1635 1636 <?php echo esc_html( ultimate_post_kit_reading_time( get_the_content(), $settings['avg_reading_speed'], $settings['hide_seconds'] ?? 'no', $settings['hide_minutes'] ?? 'no' ) ); ?>
1636 1637 </div>
1637 1638 <?php endif; ?>
1638 1639 <?php endif; ?>