Home › Forums › Gutenberg › Custom fields not saving › Reply To: Custom fields not saving
To verify if you have the same cause of this problem as me:
If it’s not present, you can try to following stop gap fix, which seems to have worked for me:
Edit wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-post.php
and in the function save_post($post_id, $post)
comment out the following three lines:
if( !acf_verify_nonce('post') ) {
return $post_id;
}
Warning: I’m not entirely sure what function nonce plays in ACF, or whether it’s lack is part of a larger bug. Use this workaround at your own risk.
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.