messica (02f95591) at 12 Apr 13:18
fixes #15
Admittedly didn't spend time looking into where/when/why the token got passed around, but on a client's site $_POST['g-recaptcha-token']
was an empty string and the correct token was in $_POST['captcha']
. However the code didn't reach that because $_POST['g-recaptcha-token']
is technically set. Changing to !empty
instead fixed this for me.
messica (02f95591) at 02 Feb 22:31
Fix reCAPTCHA v3 validation when token is in $_POST['captcha']
Admittedly didn't spend time looking into where/when/why the token got passed around, but on a client's site $_POST['g-recaptcha-token']
was an empty string and the correct token was in $_POST['captcha']
. However the code didn't reach that because $_POST['g-recaptcha-token']
is technically set. Changing to !empty
instead fixed this for me.
Drop-down custom fields are not displayed if "Options per line" is set, even if the setting is hidden.
The Drop-down field is not rendered at all, in previews or on front end.
The Drop-down field should ignore any previously set values for "Options per line"