Fix make signup work for guests

This commit is contained in:
2026-06-01 17:42:43 +02:00
parent ad1a535795
commit 6e1bc4ac1b
2 changed files with 3 additions and 2 deletions

View File

@@ -233,6 +233,7 @@ function go_form_handle_submission()
exit;
}
add_action('admin_post_go_form_handle_submission', 'go_form_handle_submission');
Pleadd_action('admin_post_nopriv_go_form_handle_submission', 'go_form_handle_submission');
// ========== Shortcode ==========
function go_form_shortcode($atts)

View File

@@ -225,11 +225,11 @@
const lastName = document.getElementById('last_name').value.trim();
if (firstName.length < 2) {
alert('Please enter at least 2 characters in first or last name');
alert('Please enter at least 2 characters in first and last name');
return;
}
if (lastName.length < 2) {
alert('Please enter at least 2 characters in first or last name');
alert('Please enter at least 2 characters in first and last name');
return;
}