7 Mar

ACF PRO 5.5.10 Update

This version adds lots of new settings, filters, actions and improvements to the acf_form() function whilst also fixing a few bugs too!

Changelog

  • API: Added new functionality to the acf_form() function:
  • – added new ‘html_updated_message’ setting
  • – added new ‘html_submit_button’ setting
  • – added new ‘html_submit_spinner’ setting
  • – added new ‘acf/pre_submit_form’ filter run when form is successfully submit (before saving $_POST)
  • – added new ‘acf/submit_form’ action run when form is successfully submit (after saving $_POST)
  • – added new ‘%post_id%’ replace string to the ‘return’ setting
  • – added new encryption logic to prevent $_POST exploits
  • – added new acf_register_form() function
  • Core: Fixed bug preventing values being loaded on a new post/page preview
  • Core: Fixed missing ‘Bulk Actions’ dropdown on sync screen when no field groups exist
  • Core: Fixed bug ignoring PHP field groups if exists in JSON
  • Core: Minor fixes and improvements

Details

  • Changed hidden input name used to submit acf_form() settings from $_POST [‘acf_form’] to $_POST[‘_acfform’]
  • PHP field groups will now be included earlier during the ‘acf/include_fields’ at priority 5 (previously 10)
  • acf_form() now uses openssl_encrypt() to encrypt form settings