If I use acf_form
to edit an existing post, the nonce validation doesn’t pass on the first submit, but works fine on subsequent submits. I lose all my changes and it returns to the edit form (acf_form
). Does the nonce get calculated with a referer that needs to be the same as the page where acf_form
is displayed?
EDIT:
I’m also running WP on Apache behind Nginx, which acts as a reverse proxy. Client IPs and such are forwarded correctly.