Problems in WAW submit form in Spanish
Created by: numeroteca
When submitting a new organization in Spanish (http://globalrec.org/es/rem/anade-organizacion/), something is not working and returns "har".
Code available at https://github.com/montera34/globalrec/blob/master/functions.php#L2054
What is the code below doing?
if ( !array_key_exists('globalrec-form-waw-submit', $_POST) ) {
globalrec_waw_form();
return;
} elseif ( sanitize_text_field( $_POST['globalrec-form-waw-submit'] ) != 'Send' ) {
globalrec_waw_form();
echo "har";
return;
}