29 Oct

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.

Black Friday Sale 🎉 Get 30% off new licenses and 15% off early renewals!
Coupon expires Dec 1st (11:59pm GMT) - don't miss out!

* Discounted subscriptions will renew at their full price. Cancel at any time.

Coupon Code
blackfriday2020

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.