| @@ -73,9 +73,8 @@ | ||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | protected function prepare_display_value( $value, $atts ) { |
| 76 | 76 | FrmFieldsHelper::run_wpautop( $atts, $value ); |
| 77 | - | |
| 78 | 77 | return $value; |
| 79 | 78 | } |
| 80 | 79 | |
| 81 | 80 | /** |
| @@ -98,13 +97,14 @@ | ||
| 98 | 97 | * @return string |
| 99 | 98 | */ |
| 100 | 99 | public function front_field_input( $args, $shortcode_atts ) { |
| 101 | 100 | $input_html = $this->get_field_input_html_hook( $this->field ); |
| 102 | - $this->add_aria_description( $args, $input_html ); | |
| 103 | - $rows = $this->field['max'] ? 'rows="' . esc_attr( $this->field['max'] ) . '" ' : ''; | |
| 101 | + $rows = $this->field['max'] ? 'rows="' . esc_attr( $this->field['max'] ) . '" ' : ''; | |
| 104 | 102 | |
| 103 | + // phpcs:disable Generic.WhiteSpace.ScopeIndent | |
| 105 | 104 | return '<textarea name="' . esc_attr( $args['field_name'] ) . '" id="' . esc_attr( $args['html_id'] ) . '" ' . |
| 106 | 105 | $rows . $input_html . '>' . |
| 107 | 106 | FrmAppHelper::esc_textarea( $this->field['value'] ) . |
| 108 | 107 | '</textarea>'; |
| 108 | + // phpcs:enable Generic.WhiteSpace.ScopeIndent | |
| 109 | 109 | } |
| 110 | 110 | } |