PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/fields/FrmFieldTextarea.php +3 -3 6.26 → trunk View file →
@@ -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 }