Advanced Custom Fields v6.1.2
Release Date 4th April 2023
- Fix - Calls to
acf_add_options_page
afteracf_add_local_field_group
beforeacf/init
will now behave correctly - i18n - All new ACF 6.1 strings are now correctly English (United States) by default, along with the following changes from ACF 6.1.1 and 6.1.0:
- Fix - Calls to
acf_add_local_field_group
beforeacf/init
now behave correctly - New - Register Custom Post Types and Taxonomies using ACF. View the release post for full information
- New - A new field type selection browser providing details on each type of field. View the release post for full information.
- New - PHP 8.1 and 8.2 support
- Security Fix - ACF's data serialization system will now prevent classes being unserialized. This prevents a potential security issue should an attacker know a vulnerable class is available, and can write malicious data to the database.
- Enhancement - Post Object, Page Link and Relationship fields now support filtering by post status
- Enhancement - Checkbox fields which allow custom entries can now be filtered to set custom text for the “Add New Choice” button using the
custom_choice_button_text
property - Fix - ACF Block field edit view buttons now work correctly inside reusable blocks
- Fix - An empty callback function in now passed to scripts to prevent JS warnings when using Google Map fields
- Fix - Checkbox field values now support keys indexed as 0
- Fix - Automatic deactivation of the free or PRO plugin when activating the other now displays the correct message in the admin notice
- Fix - Empty Flexible Content fields will no longer cause an error when used in the block editor on save
- Fix - Admin notices now behave correctly and are closable in RTL languages