Home › Forums › Gutenberg › Custom fields not saving › Reply To: Custom fields not saving
Hello,
I’ve encountered this issue this week with the following setup:
– WordPress: 4.9.8
– Gutenberg (as a plugin): 3.9.0
– ACF: 5.8.5
I investigated a bit, comparing it to my local installation where I did not update ACF from 5.7.7 to 5.8.5.
What I was able to find is that the problem revolves around the function ‘acf_verify_nonce()’, which on 5.8.5 returns false and stops the saving pipeline. What’s more, the hidden input field ‘_acf_nonce’ is not rendered on the page on which I’m editing the ACF fields.
I see that between versions 5.7.7 and 5.8.5 there are changes in how this works in the plugin – for example, rendering of the field ‘_acf_nonce’ moved from ‘includes/forms/form-gutenberg.php’ to ‘includes/admin/admin-tools.php’ and ‘pro/admin/views/html-settings-updates.php’ That makes me think it’s quite possible it’s a bug in ACF that’s causing this.
Thanks,
Jan
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.