Hi, this is possibly merely a question and not an issue –
I have an acf_form(), and it creates all the hidden fields it’s supposed to create, including “_acf_nonce” with a numeric value. On submit, the form “is validating”, and eventually, is “validated”, then moves on to “/?updated”.
However, when I look at the $_POST I always get “acf_nonce => bool(false)”, which makes me think something is not safe and ok after all.
I do not know what is causing this on your site. I would start by seeing if there is some type of plugin conflict by deactivating other plugins. Also not the difference in the field name, on my site it starts with an underscore (_)
acf resets the nonce to “false” upon verification so the form can only be submitted once with this nonce. So “false” as value for ‘acf_nonce’ in the $_POST actually means ‘verified’, if I’m not mistaken.
Although I wonder if changing “false” to “verified” for “acf_nonce” in the $_POST may make it easier to understand what is going on?
Thanks for your reply!
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users