Releases: AdvancedCustomFields/acf
Releases · AdvancedCustomFields/acf
Advanced Custom Fields v6.2.5
Release Date 16th January 2024
- Security Fix - The ACF shortcode will now run all output through
wp_kses
, escaping unsafe HTML. This may be a breaking change to your site but is required for security, a message will be shown in WordPress admin if you are affected. Please see the blog post for this release for more information. Thanks to Francesco Carlucci via Wordfence for the responsible disclosure - Security - ACF now warns via an admin message, when upcoming changes to
the_field
andthe_sub_field
may require theme changes to your site to avoid stripping unsafe HTML. Please see the blog post for this release for more information - Security - Users may opt in to automatically escaping unsafe HTML via a new filter
acf/the_field/escape_html_optin
when usingthe_field
andthe_sub_field
before this becomes default in an upcoming ACF release.
Advanced Custom Fields v6.2.4
Release Date 28th November 2023
- Fix - Custom Post Types labels now match the WordPress 6.4 behavior for "Add New" labels
- Fix - When exporting both post types and taxonomies as PHP, taxonomies will now appear before post types, matching the order ACF registers them. This resolves issues where taxonomy slugs will not work in post type permalinks
- Fix - Advanced Settings for Taxonomies, Post Types or Options Pages now display with the correct top padding when toggled on
- Fix - When a parent option page is set to "Redirect to Child Page", the child page will now correctly show it's parent setting
- Fix - When activated as a must-use plugin, the ACF PRO "Updates" page is now visible. Use the existing
show_updates
setting to hide - Fix - When activated as a must-use plugin, ACF PRO licenses defined in code will now correctly activate sites
- Fix - When
show_updates
is set or filtered to false, ACF PRO will now automatically still activate defined licenses - i18n - Maintenance and internal upstream messages from the ACF PRO activation server are now translatable
Advanced Custom Fields v6.2.3
Release Date 15th November 2023
- View Release Post
- New - An ACF Blocks specific JSON schema for block.json is now available on GitHub
- New - Flexible Content fields now show the layout name in the layout's header bar and supports click-to-copy
- New - Duplicating Flexible Content layouts now appends "Copy" to their name and label, matching the behavior of field group duplication
- Enhancement - ACF PRO will now automatically attempt license reactivation when the site URL changes, e.g. after a site migration. This resolves issues where updates may fail
- Enhancement - Presentation setting for "High" placement of the Field Group made clear that it's not supported in the block editor
- Fix -
acf_format_date
now ensures the date parameter is valid to prevent fatal errors if other data types are passed in - Fix - CPTs with a custom icon URL now display the posts icon in the location column of the field groups screen
- Fix - The ACF JSON import form will now disable on first submit resolving an issue where you could submit the form twice
- Fix - The "Add Row" button in the Flexible Content field now displays correctly when using nested layouts
- Fix - Warning and Error notices no longer flicker on ACF admin pages load
- i18n - ACF PRO license activation success and error messages are now translatable
Advanced Custom Fields v6.2.2
Release Date 25th October 2023
- Enhancement - ACF Blocks which have not been initialized by the editor will now render correctly
- Enhancement - Added a new
acf/filesize
filter to allow third party media plugins to bypass ACF callingfilesize()
on attachments with uncached file sizes, which may result in a remote download if offloaded - Enhancement - ACF PRO license status and subscription expiry dates are now displayed on the “Updates” page
- Fix - Product pages for WooCommerce version 8.2 or newer now correctly support field group location rules
- Fix - Relationship field items can now be removed on mobile devices
- Fix - Color picker fields no longer autocomplete immediately after typing 3 valid hex characters
- Fix - Field settings no longer appear misaligned when the viewport is something other than 100%
- Fix - Select fields without an aria-label no longer throw a warning
- Fix - CPTs and Taxonomies with a custom text domain now export correctly when using PHP export
Advanced Custom Fields v6.2.1
Release Date 7th September 2023
- New - Options Pages created in the admin UI can now be assigned as child pages for any top-level menu item
- New - Added a "Title Placeholder" setting to ACF Post Types which filters the "Add title" text when editing posts
- Enhancement - ACF PRO will now warn when it can’t update due to PHP version incompatibilities
- Enhancement - ACF PRO will now work correctly with WordPress automatic updates
- Enhancement - The internal ACF Blocks template attribute parser function
parseNodeAttr
can now be shortcut with the newacf_blocks_parse_node_attr
filter. - Enhancement - Removed legacy code for supporting WordPress versions under 5.8
- Fix - The "Menu Position" setting is no longer hidden for child options pages
- Fix - The tabs for the "Advanced" settings in Post Types and Taxonomies are now rendered inside a wrapper div
- Fix - Options pages will no longer display as a child page in the list view when set to a top level page after previously being a child
- Fix - Conflict with Elementor CSS breaking the ACF PRO banner
- Fix - Errors generated during the block editor’s
savePost
function will no longer be caught and ignored by ACF
Advanced Custom Fields v6.2.0
Release Date 9th August 2023
- View Release Post
- New - ACF now requires WordPress version 5.8 or newer, and PHP 7.0 or newer. View the release post for more information
- New - Bidirectional Relationships now supported for Relationship, Post Object, User and Taxonomy fields. View the release post for more information
- New - Options Pages can now be registered and managed by the admin UI in ACF PRO
- New - Link to the product feedback board added to the plugin footer
- Enhancement - ACF JSON now supports multiple save locations (props Freddy Leitner)
- Enhancement - ACF Post Types and Taxonomies can now be duplicated
- Enhancement - The filename for JSON files can now be customized with the
acf/json/save_file_name
filter - Fix - REST updates of fields with choices containing integer or mixed keys now behave correctly
- Fix - Using the
block_type_metadata_settings
PHP filter to add usesContext values no longer breaks ACF blocks - Fix - Notice to import post types/taxonomies from CPTUI no longer flashes on page load
- Fix - Various buttons for fields in blocks now display correctly
- Fix - The settings for the DateTime field are no longer cut off when nested in several fields in the field group editor
- Fix - The newline added to the end of JSON files will now use
PHP_EOL
to detect the correct newline character with a filteracf/json/eof_newline
to alter it. - i18n - Updated French and Portuguese translations (Thanks to pedro-mendonca and maximebj)
Advanced Custom Fields v6.2.0-RC1
Release Date 3rd August 2023
- Security Fix - This release resolves a stored XSS vulnerability in admin screens with ACF post type and taxonomy labels (Thanks to Satoo Nakano and Ryotaro Imamura)
- Enhancement - The filename for JSON files can now be customized with the
acf/json/save_file_name
filter - Fix - The newline added to the end of JSON files will now use
PHP_EOL
to detect the correct newline character - Fix - The
acf/settings/enable_options_pages_ui
filter now works as expected - Fix - Using the
block_type_metadata_settings
PHP filter to add usesContext values no longer breaks ACF blocks - Fix - Notice to import post types/taxonomies from CPTUI no longer flashes on page load
- Fix - Various buttons for fields in blocks now display correctly
- Fix - The settings for the DateTime field are no longer cut off when nested in several fields in the field group editor
Advanced Custom Fields v6.1.8
Release Date 3rd August 2023
- Security Fix - This release resolves a stored XSS vulnerability in admin screens with ACF post type and taxonomy labels (Thanks to Satoo Nakano and Ryotaro Imamura)
Advanced Custom Fields v6.2.0-beta1
Release Date 27th July 2023
- View Release Post
- New - Bidirectional Relationships now supported for Relationship, Post Object, User and Taxonomy fields. View the release post for full information
- New - Options Pages can now be registered and managed by the admin UI
- Enhancement - ACF JSON now supports multiple save locations
- Enhancement - ACF Post Types and Taxonomies now support duplication
- Fix - REST updates of fields with choices containing integer or mixed keys now behave correctly
Advanced Custom Fields v6.1.7
Release Date 27th June 2023
- New - Added new capability settings for ACF taxonomies
- Enhancement - Added a new
acf/field_group/auto_add_first_field
filter which can be used to prevent new field groups from automatically adding a field - Enhancement - Field setting labels now have standard capitalization in the field group editor
- Enhancement - Clone field now has a tutorial link
- Enhancement - "Exclude From Search" CPT setting now has an improved description
- Enhancement - The
acf_get_posts()
function now hasacf/acf_get_posts/args
andacf/acf_get_posts/results
filters - Enhancement - Added a new
acf/options_page/save
action hook that gets fired during save of ACF Options Pages - Fix - Taxonomies are now initialized before post types, preventing some permalink issues
- Fix - Increased the taxonomy slug maximum length to 32 characters
- Fix - Extra tabs are no longer added to PHP exports with field settings containing multiple lines
- Fix - ACF admin assets now load when editing profile and users for a multisite network
- Fix - Blocks with recursive
render_callback
functions will no longer crash the editor - Fix - JSON files now end in a new line for better compatibility with code editors
- i18n -
layout(s)
strings in Flexible Content fields are now translatable - i18n - Updated Polish translations