← All changes
|
Libs/adminify-framework/fields/textarea/textarea.php
+4
-4
4.2.6
→
4.0.5.4
View file →
| @@ -15,12 +15,12 @@ | ||
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | public function render() { |
| 18 | 18 | |
| 19 | - echo wp_kses_post( $this->field_before() ); | |
| 20 | - echo $this->shortcoder(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- returns markup escaped within the method. | |
| 21 | - echo '<textarea name="'. esc_attr( $this->field_name() ) .'"'. $this->field_attributes() .'>'. esc_textarea( $this->value ) .'</textarea>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- field_attributes() escapes each attribute via esc_attr() | |
| 22 | - echo wp_kses_post( $this->field_after() ); | |
| 19 | + echo $this->field_before(); | |
| 20 | + echo $this->shortcoder(); | |
| 21 | + echo '<textarea name="'. esc_attr( $this->field_name() ) .'"'. $this->field_attributes() .'>'. $this->value .'</textarea>'; | |
| 22 | + echo $this->field_after(); | |
| 23 | 23 | |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | public function shortcoder() { |