| @@ -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 | ); |
| @@ -1448,8 +1452,9 @@ | ||
| 1448 | 1452 | |
| 1449 | 1453 | $i++; |
| 1450 | 1454 | $active_item = ''; |
| 1451 | 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. | |
| 1452 | 1457 | $active_item = apply_filters('gratis_grid_active_item', $this, $i); |
| 1453 | 1458 | } |
| 1454 | 1459 | |
| 1455 | 1460 | ?> |