| @@ -12,12 +12,10 @@ | ||
| 12 | 12 | return 'text'; |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | public function render_content() { |
| 16 | - $attrs = $this->widget->get_render_attribute_string( 'field-' . $this->get_id() ); | |
| 17 | - | |
| 18 | 16 | ?> |
| 19 | - <input <?php echo $attrs; ?>> | |
| 17 | + <input <?php echo $this->widget->get_render_attribute_string( 'field-' . esc_attr( $this->get_id() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor-generated attributes. ?>> | |
| 20 | 18 | <?php |
| 21 | 19 | } |
| 22 | 20 | |
| 23 | 21 | public static function get_additional_controls() { |