← All changes
|
includes/elementor/modules/optin/controls/tab-style.php
+6
-6
1.7.5
→
2.7.0
View file →
| @@ -174,9 +174,9 @@ | ||
| 174 | 174 | [ |
| 175 | 175 | 'name' => 'field_tab_box_shadow_normal', |
| 176 | 176 | 'separator' => 'before', |
| 177 | 177 | 'selector' => '{{WRAPPER}} .sellkit-field', |
| 178 | - 'exclude' => [ 'box_shadow_position' ], | |
| 178 | + 'exclude' => [ 'box_shadow_position' ], // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor control keys, not WP_Query. | |
| 179 | 179 | ] |
| 180 | 180 | ); |
| 181 | 181 | |
| 182 | 182 | $widget->add_control( |
| @@ -289,9 +289,9 @@ | ||
| 289 | 289 | $widget->add_group_control( |
| 290 | 290 | 'box-shadow', |
| 291 | 291 | [ |
| 292 | 292 | 'name' => 'field_tab_box_shadow_focus', |
| 293 | - 'exclude' => [ 'box_shadow_position' ], | |
| 293 | + 'exclude' => [ 'box_shadow_position' ], // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor control keys, not WP_Query. | |
| 294 | 294 | 'separator' => 'before', |
| 295 | 295 | 'selector' => '{{WRAPPER}} .sellkit-field:focus', |
| 296 | 296 | ] |
| 297 | 297 | ); |
| @@ -985,9 +985,9 @@ | ||
| 985 | 985 | $widget->add_group_control( |
| 986 | 986 | 'background', |
| 987 | 987 | [ |
| 988 | 988 | 'name' => 'button_normal_background', |
| 989 | - 'exclude' => [ 'image' ], | |
| 989 | + 'exclude' => [ 'image' ], // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor control keys, not WP_Query. | |
| 990 | 990 | 'selector' => '{{WRAPPER}} .sellkit-submit-button', |
| 991 | 991 | ] |
| 992 | 992 | ); |
| 993 | 993 | |
| @@ -995,9 +995,9 @@ | ||
| 995 | 995 | 'box-shadow', |
| 996 | 996 | [ |
| 997 | 997 | 'name' => 'button_normal_box_shadow', |
| 998 | 998 | 'selector' => '{{WRAPPER}} .sellkit-submit-button', |
| 999 | - 'exclude' => [ 'box_shadow_position' ], | |
| 999 | + 'exclude' => [ 'box_shadow_position' ], // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor control keys, not WP_Query. | |
| 1000 | 1000 | ] |
| 1001 | 1001 | ); |
| 1002 | 1002 | |
| 1003 | 1003 | $widget->add_control( |
| @@ -1063,9 +1063,9 @@ | ||
| 1063 | 1063 | $widget->add_group_control( |
| 1064 | 1064 | 'background', |
| 1065 | 1065 | [ |
| 1066 | 1066 | 'name' => 'button_hover_background', |
| 1067 | - 'exclude' => [ 'image' ], | |
| 1067 | + 'exclude' => [ 'image' ], // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor control keys, not WP_Query. | |
| 1068 | 1068 | 'selector' => '{{WRAPPER}} .sellkit-submit-button:hover', |
| 1069 | 1069 | ] |
| 1070 | 1070 | ); |
| 1071 | 1071 | |
| @@ -1074,9 +1074,9 @@ | ||
| 1074 | 1074 | [ |
| 1075 | 1075 | 'name' => 'button_hover_box_shadow', |
| 1076 | 1076 | 'separator' => 'before', |
| 1077 | 1077 | 'selector' => '{{WRAPPER}} .sellkit-submit-button:hover', |
| 1078 | - 'exclude' => [ 'box_shadow_position' ], | |
| 1078 | + 'exclude' => [ 'box_shadow_position' ], // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor control keys, not WP_Query. | |
| 1079 | 1079 | ] |
| 1080 | 1080 | ); |
| 1081 | 1081 | |
| 1082 | 1082 | $widget->add_control( |