Releases: AdvancedCustomFields/acf
Releases · AdvancedCustomFields/acf
Advanced Custom Fields v6.1.3
Release Date 5th April 2023
- Fix - 'Create Terms' button for taxonomy fields now displays correctly
- Fix - ACF JSON field group files which have unsupported keys (not beginning with
group_
) will now load as field groups - Fix - Renaming capabilities for post types will now set
map_meta_cap
totrue
solving an issue with assigning permissions to roles for that post type
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
Advanced Custom Fields v6.1.1
Release Date 3rd April 2023
- View Release Post
- Fix - Calls to
acf_add_local_field_group
beforeacf/init
now behave correctly, along with the following changes included in ACF 6.1.0: - 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
Advanced Custom Fields v6.1.0
Release Date 3rd April 2023
- View Release Post
- 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
Advanced Custom Fields v6.1.0-beta1
Release Date 16th March 2023
- New - Custom Post Type and Taxonomy registration support via the ACF Admin UI. 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
- 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 via the
custom_choice_button_text
property - Fix - ACF Block field edit view buttons now work correctly inside reusable blocks
Advanced Custom Fields v6.0.7
Release Date 18th January 2023
- Improvement - Removed unnecessary “Layout” prefix for Flexible Content field layouts
- Fix - Dragging and dropping fields containing settings rendered as radio button groups no longer removes the selected value
- Fix - Using the WordPress
default_page_template_title
filter with two parameters no longer causes a fatal error - Fix - Select2 inputs in the content editor are no longer receiving styles from the ACF 6 admin UI
- Fix -
acf_add_local_field_group()
now works with field group titles containing non-ASCII characters - Fix - Flexible Content field no longer has a missing icon for the “Duplicate” button
- Fix - Clicking the “Add Field” button in a Flexible Content layout no longer adds an invalid field if there are other Flexible Content fields in the layout
- Fix - Edit buttons for ACF blocks now behave correctly inside reusable blocks
- Fix - Field settings rendered as a select2 field now correctly reinitialize when changing between field types
Advanced Custom Fields v6.0.6
Release Date 13th December 2022
- View Release Post
- New - Flexible Content field now has a new admin user experience when editing layouts
- New - Tabs for field settings in the field group editor can now be disabled via a new “Field Settings Tabs” screen option or with the new
acf/field_group/disable_field_settings_tabs
filter - Improvement - General field settings tab now selected by default when a field is opened
- Fix - Sub fields are no longer initialized by their parent, resolving performance issues when field groups contain many nested sub fields
- Fix - Frontend forms now disable the submit button after click to prevent multiple submissions
- Fix - Unknown field types no longer display broken HTML in the field group editor
- Fix - Returning an empty string via the
acf/blocks/no_fields_assigned_message
filter will no longer result in blocks without fields assigned having an extra wrapping div - Fix - Sites with WPML enabled no longer experience failed ACF updates due to license errors
- Fix - Buttons featuring icons no longer have display issues when using RTL languages
Advanced Custom Fields v6.0.5
Release Date 18th November 2022
- Fix - Uploading multiple files nested in a subfield no longer causes a fatal error when using basic uploader (props @JoKolov)
Advanced Custom Fields v6.0.4
Release Date 8th November 2022
- Improvement - JavaScript initialization performance while editing large field groups has been improved, especially in Safari
- Improvement - Tooltips for field settings are now shown as inline instructions
- Improvement - Saving a field group is now disabled until a field group title has been entered
- Improvement - Additional sanitization across various internal parts of the plugin
- Fix - Dragging and dropping a field in no longer opens the field settings in Firefox
- Fix - Copying the field name or key to the clipboard now works as expected for new or reordered fields, and subfields
- Fix - Saving a field group will now temporarily disable the "Save Changes" button while saving
- Fix - Block templates that include html comments as the first DOM element no longer crash the block editor on edit
- Fix - Block templates that include InnerBlocks on the DOM’s first level no longer trigger JS warnings
- Fix - Block templates that render other blocks now correctly render their InnerBlocks
- Fix - Legacy block attribute values are no longer overwritten by blank defaults of new versions
- Fix - Paginated Repeater fields now work with non-paginated Repeaters as subfields
- Fix - Repeater pagination is now properly disabled while inside blocks
- Fix - REST API no longer causes a PHP warning if
$_SERVER['REQUEST_METHOD']
is not defined - Fix - REST API now supports integer keys for the Select field
- Fix - REST API now supports passing
null
to Image and File fields - Fix - Invalid ACF meta keys no longer cause a fatal error when retrieved with
get_fields()
- a11y - The Relationship field is now fully accessible for keyboard navigation
- i18n - Select dropdown arrow is now aligned correctly in RTL languages
- i18n - Radio buttons are now aligned correctly in RTL languages
Advanced Custom Fields v6.0.3
Release Date 18th October 2022
- Security Fix - ACF shortcode security fixes detailed here
- Improvement - Field names and keys now copy to clipboard on click, and do not open a field
- Fix - The field type input now has default focus when adding a new field
- Fix - ACF no longer publishes
h1
,h2
orh3
CSS classes outside of the ACF admin screens - Fix - Conditional field settings now work correctly across different tabs
- Fix - The field list for sub fields are now full width
- Fix - ACF admin notices now display with correct margin
- Fix - Admin CSS improvements when using ACF in an RTL language
- Fix - Clone fields now have the presentation tab for setting wrapper properties when in group display mode
- Fix - Appended labels on field settings will now be displayed in the correct place
- Accessibility - The move field modal is now keyboard and screen reader accessible