| @@ -97,8 +97,9 @@ | ||
| 97 | 97 | ], |
| 98 | 98 | ] |
| 99 | 99 | ); |
| 100 | 100 | |
| 101 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- established hook name relied on across the plugin family; renaming would break integration. | |
| 101 | 102 | $column_size = apply_filters('upk_column_size', ''); |
| 102 | 103 | |
| 103 | 104 | $this->add_responsive_control( |
| 104 | 105 | 'columns', |
| @@ -211,8 +212,9 @@ | ||
| 211 | 212 | $this->add_group_control( |
| 212 | 213 | Group_Control_Image_Size::get_type(), |
| 213 | 214 | [ |
| 214 | 215 | 'name' => 'primary_thumbnail', |
| 216 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 215 | 217 | 'exclude' => ['custom'], |
| 216 | 218 | 'default' => 'medium', |
| 217 | 219 | ] |
| 218 | 220 | ); |
| @@ -578,9 +580,9 @@ | ||
| 578 | 580 | [ |
| 579 | 581 | 'label' => esc_html__('Glassmorphism', 'ultimate-post-kit'), |
| 580 | 582 | 'type' => Controls_Manager::SWITCHER, |
| 581 | 583 | // translators: %1s: Opening anchor tag with link to MDN backdrop-filter documentation, %2s: Closing anchor tag |
| 582 | - '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>'), | |
| 584 | + '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>'), | |
| 583 | 585 | 'default' => 'yes', |
| 584 | 586 | 'condition' => [ |
| 585 | 587 | 'content_on_image' => 'yes' |
| 586 | 588 | ] |
| @@ -648,8 +650,9 @@ | ||
| 648 | 650 | Group_Control_Background::get_type(), |
| 649 | 651 | [ |
| 650 | 652 | 'name' => 'itam_content_background', |
| 651 | 653 | 'selector' => '{{WRAPPER}}.upk-content-on-image-yes .upk-alter-grid .upk-content', |
| 654 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 652 | 655 | 'exclude' => ['image'], |
| 653 | 656 | 'condition' => [ |
| 654 | 657 | 'content_on_image' => 'yes' |
| 655 | 658 | ] |
| @@ -712,8 +715,9 @@ | ||
| 712 | 715 | Group_Control_Background::get_type(), |
| 713 | 716 | [ |
| 714 | 717 | 'name' => 'itam_content_hover_background', |
| 715 | 718 | 'selector' => '{{WRAPPER}}.upk-content-on-image-yes .upk-alter-grid .upk-item:hover .upk-content', |
| 719 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 716 | 720 | 'exclude' => ['image'], |
| 717 | 721 | 'condition' => [ |
| 718 | 722 | 'content_on_image' => 'yes' |
| 719 | 723 | ] |