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 of any, matching the behavior prior to ACF 6.1. This can be edited per field in the field group admin or via the acf/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
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 the acf/include_fields action hook to match the recommended way of using acf_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 and Delete 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
This is a great module.
I like that i see it have a conditional statement functionality for fields, to allow display if a condition is meet.
Thank you!
You are great.
* 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 has `acf/acf_get_posts/args` and `acf/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
Post automatically merged:
Update 6.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)
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 filter acf/json/eof_newline to alter it.
i18n - Updated French and Portuguese translations (Thanks to pedro-mendonca and maximebj)
Post automatically merged:
6.2.1.1
Release Date 8th September 2023
* Fix - Editing a field group no longer generates an error when UI options pages are disabled