← All changes
|
classes/views/styles/components/templates/text-toggle.php
+1
-1
6.26
→
trunk
View file →
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | <input |
| 24 | 24 | <?php |
| 25 | 25 | echo $component['input_attrs_str'] ?? $field_name; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 26 | 26 | FrmAppHelper::array_to_html_params( $input_attrs, true ); |
| 27 | - checked( ( $is_default_checked && 0 === $index ) || $option['value'] == $field_value, true ); | |
| 27 | + checked( ( $is_default_checked && 0 === $index ) || $option['value'] == $field_value, true ); // phpcs:ignore Universal.Operators.StrictComparisons | |
| 28 | 28 | ?> |
| 29 | 29 | /> |
| 30 | 30 | <label class="frm-force-flex-center <?php echo esc_attr( $option['classes'] ?? '' ); ?>" for="<?php echo esc_attr( $input_attrs['id'] ); ?>" tabindex="0" data-value="<?php echo esc_attr( $input_attrs['value'] ); ?>" <?php echo $option['custom_attrs'] ?? ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> |
| 31 | 31 | <span class="frm-toggle-label"><?php echo esc_html( $option['label'] ?? '' ); ?></span> |