Releases: AdvancedCustomFields/acf
Releases · AdvancedCustomFields/acf
Advanced Custom Fields v6.1.6
Release Date 4th May 2023
- Security Fix - This release resolves an XSS vulnerability in ACF’s admin pages (Thanks to Rafie Muhammad for the responsible disclosure)
- Fix - Duplicating fields in a new field group with field setting tabs disabled now behaves correctly
Advanced Custom Fields v6.1.5
Release Date 2nd May 2023
- Enhancement - Creating a new field group from the post-save actions for a post type or taxonomy will automatically populate the field group title
- Enhancement - Empty values in list tables now display as a dash, rather than blank
- Enhancement - The
Generate PHP
export tool for field groups now displays the code wrapped in theacf/include_fields
action hook to match the recommended way of usingacf_add_local_field_group
, and the code is formatted correctly - Enhancement - Post count and Term count values in list tables now link through to the matching posts or terms
- Enhancement - Added post-save actions to post type and taxonomies to create another
- Enhancement - Selecting existing taxonomies when registering a Custom Post Type is now available in the Basic settings section rather than Advanced
- Fix -
Exclude From Search
setting for custom post types now behaves correctly - Fix - Duplicating fields with sub fields no longer results in JS errors
- Fix - Select2 field settings now render correctly when duplicating fields
- Fix - Checkbox fields allowing custom values which use integer keys can now be updated over the REST API
- Fix - Using the
No Permalink
rewrite setting for post type will no longer generate PHP warnings - Fix - The
minimum rows not met
validation message for the Repeater field type now correctly states the minimum rows are not met - Fix - The Range field type no longer cuts off three digit values
- Fix -
Created on
andDelete Field Group
now correctly only appear on the Group Settings tab of a field group - Fix - Padding for field settings tabs is now correct
- i18n - Updated all PRO translation files, removing legacy free strings which are now handled through translate.wordpress.org
- i18n - Updated PRO translations with the latest contributions from GitHub (Thanks to @MilenDalchev, @Xilonz and @wiliamjk)
Advanced Custom Fields v6.1.4
Release Date 12th April 2023
- Fix - ACF now detects when another plugin or theme is loading an incompatible version of Select2, and will fallback to a basic select field for the field type selection
- Fix - Post Object, Page Link and Relationship field types now use a default
post_status
filter ofany
, matching the behavior prior to ACF 6.1. This can be edited per field in the field group admin or via theacf/fields/$field_type/query
filters - Fix - Post Type and Taxonomy key generation now uses dashes rather than underscores
- Fix - The "add first" text no longer appears when no search results are found for ACF field groups, post types or taxonomies
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