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/gratis-grid/widgets/gratis-grid.php +10 -2 4.1.18 → 4.5.6 View file →
@@ -161,8 +161,9 @@
161 161 $this->add_group_control(
162 162 Group_Control_Image_Size::get_type(),
163 163 [
164 164 'name' => 'primary_thumbnail',
165 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
165 166 'exclude' => ['custom'],
166 167 'default' => 'medium',
167 168 ]
168 169 );
@@ -354,8 +355,9 @@
354 355 [
355 356 'name' => 'overlay_color',
356 357 'label' => esc_html__('Background', 'ultimate-post-kit'),
357 358 'types' => ['classic', 'gradient'],
359 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
358 360 'exclude' => ['image'],
359 361 'selector' => '{{WRAPPER}} .upk-gratis-grid .upk-img-wrap::before',
360 362 'fields_options' => [
361 363 'background' => [
@@ -444,8 +446,9 @@
444 446 [
445 447 'name' => 'overlay_hover_color',
446 448 'label' => esc_html__('Background', 'ultimate-post-kit'),
447 449 'types' => ['classic', 'gradient'],
450 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
448 451 'exclude' => ['image'],
449 452 'selector' => '{{WRAPPER}} .upk-gratis-grid .upk-img-wrap::after',
450 453 'fields_options' => [
451 454 'background' => [
@@ -506,8 +509,9 @@
506 509 [
507 510 'name' => 'overlay_active_color',
508 511 'label' => esc_html__('Background', 'ultimate-post-kit'),
509 512 'types' => ['classic', 'gradient'],
513 + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour.
510 514 'exclude' => ['image'],
511 515 'selector' => '{{WRAPPER}} .upk-gratis-grid .upk-item.active .upk-img-wrap::after',
512 516 ]
513 517 );
@@ -1220,9 +1224,9 @@
1220 1224 return;
1221 1225 }
1222 1226 ?>
1223 1227 <div class="upk-category">
1224 - <?php echo upk_get_category($this->get_settings('posts_source')); ?>
1228 + <?php echo wp_kses_post( upk_get_category($this->get_settings('posts_source')) ); ?>
1225 1229 </div>
1226 1230 <?php
1227 1231 }
1228 1232
@@ -1273,9 +1277,12 @@
1273 1277 <span><?php echo esc_html__('by', 'ultimate-post-kit') ?></span>
1274 1278 <a
1275 1279 class="upk-author-name"
1276 1280 href="<?php echo esc_url( get_author_posts_url(get_the_author_meta('ID')) ); ?>"
1277 - aria-label="<?php echo esc_attr( sprintf( __( 'View all posts by %s', 'ultimate-post-kit' ), get_the_author() ) ); ?>"
1281 + aria-label="<?php
1282 + /* translators: %s: author name */
1283 + echo esc_attr( sprintf( __( 'View all posts by %s', 'ultimate-post-kit' ), get_the_author() ) );
1284 + ?>"
1278 1285 >
1279 1286 <span><?php echo esc_html( get_the_author() ); ?></span>
1280 1287 </a>
1281 1288 </div>
@@ -1445,8 +1452,9 @@
1445 1452
1446 1453 $i++;
1447 1454 $active_item = '';
1448 1455 if (_is_upk_pro_activated()) {
1456 + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- established hook name relied on across the plugin family; renaming would break integration.
1449 1457 $active_item = apply_filters('gratis_grid_active_item', $this, $i);
1450 1458 }
1451 1459
1452 1460 ?>