Home › Forums › ACF PRO › post_title issue remains after 5.4.2 AJAX loading acf_form › Reply To: post_title issue remains after 5.4.2 AJAX loading acf_form
The function _acf_form_register_fields and the call in acf_form_head() was added 22 days ago… in version 5.3.8, the last version you say it was working the fields were defined during validation process and now they are defined before the validation process. Basically, before the fields where defined just before they where possibly used and now they are defined earlier process. I don’t know if this is a bug or a feature, but basically now if acf_form_head() is not called the local fields for _post_title and _post_content will not be defined unless you call the new function I posted above.
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’re hard at work on ACF 6.1, and Beta 1 is now available 🚀— Advanced Custom Fields (@wp_acf) March 16, 2023
This release includes custom post type and taxonomy registration, an improved experience when selecting field types, PHP 8.1 and 8.2 compatibility, and more!
Let’s take a look 🧵https://t.co/Y0WcAT11l4
© 2023 Advanced Custom Fields.