← All changes
|
modules/category-carousel/widgets/category-carousel.php
+3
-0
4.2.0
→
4.5.6
View file →
| @@ -184,8 +184,9 @@ | ||
| 184 | 184 | $this->add_group_control( |
| 185 | 185 | Group_Control_Image_Size::get_type(), |
| 186 | 186 | [ |
| 187 | 187 | 'name' => 'primary_thumbnail', |
| 188 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 188 | 189 | 'exclude' => ['custom'], |
| 189 | 190 | 'default' => 'medium', |
| 190 | 191 | ] |
| 191 | 192 | ); |
| @@ -725,8 +726,9 @@ | ||
| 725 | 726 | Group_Control_Typography::get_type(), |
| 726 | 727 | [ |
| 727 | 728 | 'name' => 'category_typography', |
| 728 | 729 | 'label' => esc_html__('Typography', 'ultimate-post-kit'), |
| 730 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 729 | 731 | 'exclude' => ['line_height'], |
| 730 | 732 | 'selector' => '{{WRAPPER}} .upk-category-carousel .upk-item .upk-content .title', |
| 731 | 733 | ] |
| 732 | 734 | ); |
| @@ -923,8 +925,9 @@ | ||
| 923 | 925 | 'taxonomy' => $settings["taxonomy"], |
| 924 | 926 | 'orderby' => $settings["orderby"], |
| 925 | 927 | 'order' => $settings["order"], |
| 926 | 928 | // 'include' => explode(',', esc_attr($settings["include"])), |
| 929 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor widget query built from user-configured controls; expected behaviour. | |
| 927 | 930 | 'exclude' => explode(',', esc_attr($settings["exclude"])), |
| 928 | 931 | 'parent' => $settings["parent"], |
| 929 | 932 | 'hide_empty' => 0, |
| 930 | 933 | ] |