11 Feb

ACF 5.7.11 Release

Advanced Custom Fields version 5.7.11 is now available. This is an update for both our ACF and ACF PRO plugins, and we encourage you to update your sites as soon as possible.

This release contains a handful of bug fixes and improvements throughout the plugin. It also adds support for persistent object caching 🎉! Developers using object caching should now see less SQL queries and faster load times!

You can view the full changelog is below.

*Release Date - 11 Februrary 2019*

* New - Added support for persistent object caching.
* Fix - Fixed PHP error in determine_locale() affecting AJAX requests.
* Fix - Fixed bug affecting dynamic metabox check when selecting "default" page template.
* Fix - Fixed bug where tab fields did not render correctly within a dynamic metabox.
* Tweak - Removed language fallback from "zh_TW" to "zh_CN".
* Dev - Refactored various core functions.
* Dev - Added new hook variation functions acf_add_filter_variations() and acf_add_action_variations().
* i18n - Updated Portuguese language thanks to Pedro Mendonça.
* i18n - Updated German translation thanks to Ralf Koller.
* i18n - Updated Swiss German translation thanks to Raphael Hüni.

Under the hood

Filter variations

This version contains exciting new way for us to deploy action and filter variations. As a result, it is now possible to hook in before and after ACF applies it’s filter variations. For an example of a filter variation, please see the acf/load_field filter.

To hook in before the variations are applied, please use a priority less than 10. To hook in after, please use a priority greater than 10.

We recently wrote up an in-depth look at Applying Filter Variations in ACF if you are interested to read more.

Refactored CRUD

Continuing with our 2019 mission to “improve deeply”, we have spent some time refactoring the majority of Create, Read, Update and Delete functions responsible for field, field group, meta and values.

These improvements have allowed us to fix a variety of issues whilst preparing ACF for upcoming functionality!

Preparing for ACF Blocks

Thanks to the new systems in place for handling data and filter variations, we are getting prepared to finish our work on version 5.8. This version will introduce a PHP framework for registering and displaying “Blocks” within the Gutenberg editor! We’re extremely excited about the potential in this space, and will now turn our full attention to this highly anticipated release!

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.