PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.21
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.21
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
← All changes | includes/functions.php +3 -3 1.6.91.6.21 View file →
@@ -176,9 +176,9 @@
176 176
177 177 $query = 'SELECT transaction_id FROM ' . $wpdb->prefix . 'weforms_payments' .
178 178 ' WHERE entry_id = ' . $entry_id;
179 179 $payment = $wpdb->get_row( $query, $entry_id );
180 -
180 +
181 181 return $payment;
182 182 }
183 183
184 184 /**
@@ -1099,9 +1099,9 @@
1099 1099 'message' => __( 'Thanks for contacting us! We will get in touch with you shortly.', 'weforms' ),
1100 1100 'page_id' => '',
1101 1101 'url' => '',
1102 1102
1103 - 'submit_text' => __( 'Submit Query', 'weforms' ),
1103 + 'submit_text' => __( 'Submit', 'weforms' ),
1104 1104 'submit_button_cond' => [
1105 1105 'condition_status' => 'no',
1106 1106 'cond_logic' => 'any',
1107 1107 'conditions' => [
@@ -1319,7 +1319,7 @@
1319 1319 function weforms_clean( $var ) {
1320 1320 if ( is_array( $var ) ) {
1321 1321 return array_map( 'weforms_clean', $var );
1322 1322 } else {
1323 - return is_scalar( $var ) ? sanitize_text_field( wp_unslash( $var ) ) : $var;
1323 + return is_scalar( $var ) ? sanitize_textarea_field( wp_unslash( $var ) ) : $var;
1324 1324 }
1325 1325 }