Home › Forums › Feedback › 6.3.6 version field validation error. Unable to perform validation. › Reply To: 6.3.6 version field validation error. Unable to perform validation.
I just ran a diff between 6.3.5 and 6.3.6 and I think I see what the issue is.
In the file includes/validation.php
, in the ajax_validate_save_post()
method, there’s a conditional that checks the acf_verify_ajax()
function. In the previous version, if that function returned false, it would just die()
but now it’s returning wp_send_json_success()
with the error message we’re seeing.
My immediate guess is that this code really is not even supposed to be running when you’re saving menus, but in the past it didn’t cause any noticeable issues so no one knew it was running at all. But with this change — which has nothing to do with saving menus — it’s causing the error.
Since all attention in WP core development seems to be on the Block Editor now, and this old way of managing menus is being phased out (or at least neglected), I suspect that’s why this slipped through unnoticed.
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.