29 Oct 20

ACF 5.9.2 Release

Advanced Custom Fields version 5.9.2 is now available. This release contains a number of improvements for both the ACF and ACF PRO plugins, which we hope you enjoy.

👨‍💻 Please find the release notes below. And for the latest ACF news, follow us on Twitter @wp_acf.

Experimental block preloading

Since releasing our PHP framework for custom block type development back in version 5.8, we have been inundated with positive feedback, success stories and enhancement requests. It’s clear that the main “gripe” with a server-side visual editor is exactly that – it requires an HTTP request to fetch each block’s HTML, making for a slow and sometimes painful experience whilst editing a Post.

We’re excited to announce we have a solution for this, and invite you to help test it out! To enable block preloading and experience a “zero delay” Gutenberg page loading experience, please add the following code to your wp-config.php to enable the fix:

define('ACF_EXPERIMENTAL_PRELOAD_BLOCKS', true);

👉 You can post your results and follow our progress via this GitHub issue.

Changelog

  • Enhancement – Added experiment for preloading block HTML and reducing AJAX requests on page load.
  • Fix – Added boolean attribute value detection to JSX parser (fixes issue with templateLock=”false”).
  • Fix – Added “dateTime” attribute to JSX parser ruleset.
  • Fix – Fixed unresponsive Select2 instances after duplicating a row or layout.
  • Fix – Added missing Color Picker script translations for previous WordPress versions.
  • Fix – Fixed bug in Clone Field causing potential PHP error if cloning a Field Group that no longer exists.
  • Fix – Fixed PHP warning logged when comparing a revision that contains values for a Field that no longer exist.
  • Dev – Added $wp_block parameter to block render_callback and render_template (unavailable during AJAX preview requests).
  • Dev – Deprecated acf_get_term_post_id() function.

 

🙌 Thanks to everyone who helped make this release possible.

Supercharge Your Website With Premium Features Using ACF PRO

Speed up your workflow and unlock features to better develop websites using ACF Blocks and Options Pages, with the Flexible Content, Repeater, Clone, Gallery Fields & More.

Explore Features View Pricing

PRO Features
ACF Blocks
Options Pages
PRO Fields
Repeater
Flexible Content
Gallery
Clone