| @@ -17,13 +17,13 @@ | ||
| 17 | 17 | public function render() { |
| 18 | 18 | |
| 19 | 19 | $type = ( ! empty( $this->field['attributes']['type'] ) ) ? $this->field['attributes']['type'] : 'text'; |
| 20 | 20 | |
| 21 | - echo wp_kses_post( $this->field_before() ); | |
| 21 | + echo $this->field_before(); | |
| 22 | 22 | |
| 23 | - echo '<input type="'. esc_attr( $type ) .'" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $this->value ) .'"'. $this->field_attributes() .' />'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- field_attributes() escapes each attribute via esc_attr() | |
| 23 | + echo '<input type="'. esc_attr( $type ) .'" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $this->value ) .'"'. $this->field_attributes() .' />'; | |
| 24 | 24 | |
| 25 | - echo wp_kses_post( $this->field_after() ); | |
| 25 | + echo $this->field_after(); | |
| 26 | 26 | |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | } |