← All changes
|
includes/elementor/modules/optin/fields/textarea.php
+1
-3
1.7.5
→
2.7.0
View file →
| @@ -18,12 +18,10 @@ | ||
| 18 | 18 | $this->widget->add_render_attribute( 'field-' . $this->get_id(), 'rows', $this->field['rows'] ); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function render_content() { |
| 22 | - $attrs = $this->widget->get_render_attribute_string( 'field-' . $this->get_id() ); | |
| 23 | - | |
| 24 | 22 | ?> |
| 25 | - <textarea <?php echo $attrs; ?>><?php echo $this->field['field_value']; ?></textarea> | |
| 23 | + <textarea <?php echo $this->widget->get_render_attribute_string( 'field-' . esc_attr( $this->get_id() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor-generated attributes. ?>><?php echo wp_kses_post( $this->field['field_value'] ); ?></textarea> | |
| 26 | 24 | <?php |
| 27 | 25 | } |
| 28 | 26 | |
| 29 | 27 | public static function get_additional_controls() { |