Advanced Custom Fields (ACF) Pro changelog
Release notes for every version you can download from GPL Times, newest first.
- Latest 6.8.12 · 19 Nov 2026
- 57 versions
- Since Aug 2023
- 202616 versions
4 new8 improved20 fixed3 securityJoin nowShow changesHide
New
- ACF now has a new Settings page with a Features tab for turning ACF features on and off without code. In ACF PRO, the License and Updates screens are now tabs on this page. Settings defined in code are shown as "Managed via code" and can't be changed in the UI
- Developers can add their own tabs, sections and fields to the Settings page with the new
acf/settings_page/tabs,acf/settings_page/general/sectionsandacf/settings_page/general/{$section}/fieldsfilters. The Features tab can be hidden with the new acf/settings/show_settings filter - ACF Abilities are now enabled by default for all field groups, post types and taxonomies on WordPress 6.9 and later. They can be turned off for each object, or for the whole site from the Settings page. The
enable_acf_aisetting has been renamed toenable_abilities, and existingallow_ai_accessvalues are not carried over - ACF Blocks registered with
acf_register_block_type()can now set the InnerBlocksdefault_blockanddirect_insertoptions
Improved
- The "Edit Block" button text on ACF Blocks V3 that turn off the preview with "renderPreview": false can now be changed with acf.placeholderButtonText in block.json or the new acf/blocks/default_placeholder_button_text filter
- ACF Abilities now publish valid JSON Schema, so MCP clients such as ChatGPT can discover and use them. Schemas now describe conditional logic, Repeater and Group sub fields, and Flexible Content layouts
- Breaking change: generated post type and taxonomy ability names now include the object type, so they no longer collide. For example,
acf/create-bookis nowacf/create-book-postandacf/booksis nowacf/list-book-posts. Agent prompts and MCP configurations that use the old names need updating - The
acf/field-groupsAbility now includes the list of fields within each field group - The Date Picker field's bundled jQuery UI stylesheet has been updated to version 1.14.2
- New
acf/blocks/auto_inline_editing/field_return_type_supports_auto_inline_editingfilter allows customizing which fields support auto inline editing in ACF Blocks - Child options pages now appear in their parent's menu in Menu Position order, whether they were registered in the UI or in PHP. A parent page that redirects to its first child now opens the child with the lowest Menu Position
- Google Map fields now find the city for more addresses, such as those that only have a neighborhood or sublocality
Fixed
- ACF Blocks no longer crash in the block editor when WordPress or Gutenberg loads React 19
- ACF Blocks V3 now save default field values when a block is inserted and left unedited
- Auto inline editing in ACF Blocks now works with field values that contain
&, and saves inline edits as plain text instead of HTML-encoded text - Auto inline editing in ACF Blocks no longer replaces empty array or object field values with a placeholder string
- Passing a post object to
wp_insert_post()no longer causes a fatal error, a regression in 6.8.11 - Saving relational fields no longer causes a fatal error when another plugin stores an array in meta whose name starts with
_, a regression in 6.8.11 - Reading a field before the main query is set up no longer triggers an
is_preview()notice, a regression in 6.8.10 - Viewing a draft, pending or scheduled post without a preview link no longer loads field values from its latest revision, and front-end forms on those views no longer save into the revision, a regression in 6.8.10
- Image fields no longer fail validation with "File must be a valid image." on hosts that use stream-wrapped file systems
- Image and Gallery fields now respect the
acf/is_image_fieldfilter when validating values - Disabled Flexible Content layouts no longer appear in post previews
- Number and Range field validation messages now show decimal minimum and maximum values correctly
- The ACF media modal no longer stops showing new uploads after a search returns no results
- Field group metaboxes that appear without a page reload can now be collapsed and expanded
- True/False fields using the stylized UI now show the switch correctly in right-to-left languages
- Field group settings no longer show an incorrect top border on small screens
- The Icon Picker field no longer attempts to load an attachment preview when the selected icon is not from the Media Library
- Options pages no longer trigger a "Using null as an array offset" deprecation notice on PHP 8.5
- Field groups and other ACF internal post types no longer trigger PHP warnings when an
acf/load_{$post_type}filter returns an invalid value - The license status no longer shows as Active after a license is deactivated
Security
<script>tags in ACF Block preview HTML, including ones that load an external file, no longer run in the block editor unless the block opts in withallowDangerousPreviewScriptsinblock.json(orallow_dangerous_preview_scriptsinacf_register_block_type()), or the site opts in with the newacf/blocks/allow_dangerous_preview_scriptsfilter- The
[acf]shortcode no longer shows fields from draft or private posts referenced by a prefixed ID such aspost_123when used inside an ACF Block, or outside the loop such as in a widget on a 404 or search page - Icon Picker fields set to return an icon string no longer reveal the URLs of private Media Library images in the REST API
- 6.8.11Join now
3 fixed12 securityJoin nowShow changesHide
Fixed
- The [acf] shortcode and ACF block bindings no longer cause a fatal error on PHP 8 when a field returns objects, such as a Relationship field set to return post objects. These values, and arrays containing nested values such as an Image field set to return an array, now output nothing, except for User fields, which output user IDs
- Field settings containing
&,<, or certain HTML entities no longer cause the field to revert to its default settings after saving - Saving a custom choice no longer removes backslashes from the field's other settings
Security
- Custom values submitted to Checkbox, Radio, and Select fields with "Save Custom Values" enabled can no longer corrupt the field's settings or add HTML attributes to the field's wrapper. The new
acf/fields/allow_append_choicesfilter can be used to restrict who can add new choices to a field. Thanks to Jakub Herman via WPScan for the responsible disclosure - ACF now sanitizes field, field group, post type, taxonomy, and options page settings saved by users without the
unfiltered_htmlcapability. For those users, a field's wrapper settings are limited to width, class, and id. Event handler (on*) attributes in a field's wrapper setting are no longer output for any field, including fields registered in PHP or local JSON - Field values of password-protected posts are no longer shown by the
[acf]shortcode, block bindings, JSON-LD output, or the REST API until the password is entered. REST responses also no longer expand a referenced password-protected post into a full post object - The
[acf]shortcode and ACF block bindings now output only user IDs for User fields, rather than personal data such as names and email addresses. The previous output can be restored with the newacf/bindings/allow_user_datafilter - Files uploaded through the basic uploader by users without the
upload_filescapability no longer generate PDF preview images or save embedded audio and video cover art. This can be changed with the newacf/upload/generate_previewsfilter - ACF now discards submitted field values unless the field was rendered for the content being saved or its field group's location rules match it. Inputs outside these rules, such as fields added with JavaScript, can be allowed with the
acf/form/{context}/allowed_field_keysandacf/options_page/allowed_field_keysfilters. Registration forms no longer save fields from field groups set to "User Form is Add / Edit". Thanks to vuxvinh via WPScan for the responsible disclosure - WordPress's Custom Fields meta box, its AJAX handler, and XML-RPC can no longer change meta that belongs to ACF fields
- Basic uploader nonces are now tied to the content being edited
- The AJAX request that loads field groups while editing a post no longer returns field groups assigned to other content
- The Relationship, Post Object, and Page Link fields no longer reveal the titles or statuses of posts the current user cannot read, and no longer save newly selected posts the user cannot read. Existing selections the user cannot read are shown as "(Restricted item)" and are kept when the user saves. Thanks to vuxvinh via WPScan for the responsible disclosure
- Relationship, Post Object, and Page Link values rendered in ACF Blocks now leave out posts the author of the post cannot read, such as another user's unpublished drafts. This can be disabled with the new acf/fields/relational/hide_unreadable_posts filter
- Bidirectional fields now only add references to posts the current user can edit, terms they can assign, and users they can edit or set as a post's author. Saves made with update_field(), WP-CLI, or cron are not checked, and the new acf/bidirectional/can_update_target and acf/is_trusted_save_context filters can adjust this. Thanks to vuxvinh via WPScan for the responsible disclosure
- 6.8.10Join now
7 securityJoin nowShow changesHide
Security
- ACF now validates that uploaded PDF files begin with the standard %PDF- header before further processing, rejecting files that do not match the expected format
- The Relationship, Post Object, Image, Gallery, and File fields now enforce WordPress read permissions on referenced posts and attachments when returned in REST API responses
- ACF now verifies both preview context and the caller's edit capability before substituting revision data when field values are retrieved for a post
- The _acf_form token used by frontend forms now expires and is bound to its issuing render, and acf_encrypt() / acf_decrypt() gain an optional $context argument for domain separation between token uses
- ACF now consistently runs field validation on frontend form submissions containing field data, ensuring required-field checks and custom acf/validate_value filters cannot be circumvented
- ACF's REST API schema no longer discloses per-object field-group configuration in OPTIONS requests to callers who lack read permission on the target object
- The User field AJAX endpoint now validates that the request nonce was created for a User field
- 6.8.9Join now
2 improved3 fixedJoin nowShow changesHide
Improved
- ACF Blocks registered via
acf_register_block_type()orblock.jsonwithout an explicit version now default to v3 on WordPress 7.1 or later. Blocks that specify a version continue to use the version they declare, and the default can be customized via theacf/blocks/default_block_versionfilter - ACF Blocks v3 now supports a
renderPreviewoption inblock.json. Setting"renderPreview": falseshows a placeholder with the block's icon, title, and an "Edit Block" button in the editor instead of rendering the block's template as a live preview. The block continues to render normally on the front-end, and legacy v2 blocks combining"mode": "edit"with"supports": { "mode": false }are automatically migrated when upgraded to v3
Fixed
- Inline editable fields in ACF Blocks V3 no longer require a second click before they can be edited
- Radio buttons now appear correctly in ACF admin screens
- Image and Gallery fields no longer reject SVG uploads when the Safe SVG plugin is active
- ACF Blocks registered via
- 6.8.8Join now
1 fixedJoin nowShow changesHide
Fixed
- Image and Gallery fields no longer reject SVG files
- 6.8.7Join now
6 securityJoin nowShow changesHide
Security
- ACF Image and Gallery fields now enforce server-side validation to accept only image files
- The
pathattribute of registered ACF Blocks is now protected from being overridden by client-supplied block data - ACF's
acf_encrypt()andacf_decrypt()helpers now authenticate encrypted values with an HMAC and no longer fall back to base64 encoding when OpenSSL is unavailable - ACF's comment, user, and options page form save handlers now only save values for fields whose field groups are assigned to the current save context
- The Post Object, Page Link, and Relationship field AJAX search queries now enforce WordPress read permissions, preventing unauthenticated visitors from seeing non-public post statuses or post types
- The User field now returns only user IDs in REST API responses to requesters without the
list_userscapability, preventing unauthenticated visitors from seeing user email addresses
- 6.8.6Join now
7 fixedJoin nowShow changesHide
Fixed
- Google Maps field values are no longer double-encoded when saved in an ACF block
- Inserting a Link field value in the Classic Editor no longer triggers validation for other required fields before the post is saved
- Auto Inline Editing blocks no longer return truthy placeholder strings for empty field values fetched from a different post inside the block render template
- ACF Blocks (V2 and V3) no longer crash when rendering an oEmbed field whose title begins with
[or{ - Field group location rules without a location value no longer cause PHP warnings on page load
- The appearance of the URL, Number, and Select fields has been improved on WordPress 7.0+
- ACF fields now save on WooCommerce orders when using HPOS in compatibility mode
- 6.8.5Join now
4 securityJoin nowShow changesHide
Security
- ACF PRO's save handler for WooCommerce order fields now verifies security nonces and only attaches on the order edit screen, preventing unauthenticated field value updates for stores utilizing HPOS
- The Flexible Content "Rename Layout" modal no longer allows for the execution of a potential stored XSS vulnerability
- A default limit of 1000 has been applied to user-contributed choices for Checkbox, Radio, and Select fields to improve security, with a new
acf/fields/max_appended_choicesfilter available for customization - Special characters within LIKE patterns are now fully escaped in
wp_optionsqueries via$wpdb->esc_like()
- 6.8.4Join now
2 improved4 fixed1 securityJoin nowShow changesHide
Improved
- ACF PRO now satisfies plugin dependencies declared against
advanced-custom-fields, so plugins requiring ACF can activate when only ACF PRO is installed acf_inline_toolbar_editing_attrs()now accepts areturn_arrayargument that returns the attributes as an escaped array suitable for use withwp_get_attachment_image()
Fixed
acf_form()with'post_id' => 'new_post'and afieldslist of field names no longer fatal errors whenacf_form_head()runs before WordPress's main query is built- Multiple
acf_form()calls wrapped inside a single outer<form>tag with one submit button no longer silently drop field values,post_title, orpost_contentfrom the non-last forms - Duplicating a V3 block with identical attributes no longer displays corrupted preview content in the duplicate
- Switching between tabs containing WYSIWYG fields no longer leaves the admin menu pinned against a shorter page, which could lock page scroll
Security
- ACF AJAX field handlers now validate that the request nonce was created for the expected field type
- ACF PRO now satisfies plugin dependencies declared against
- 6.8.3Join now
1 securityJoin nowShow changesHide
Security
- The oEmbed field's AJAX preview no longer performs URL discovery for users without the
edit_postscapability.
- The oEmbed field's AJAX preview no longer performs URL discovery for users without the
- 6.8.2Join now
2 securityJoin nowShow changesHide
Security
- ACF frontend forms (
acf_form()) now respect thepost_titleandpost_contentform configuration options when processing submissions, ensuring those values are only saved when the form is configured to accept them. Thanks to Sarawut Poolkhet (MisterHelloz) for the responsible disclosure. - ACF frontend forms (
acf_form()) now only save values for fields assigned to the form via thefieldsorfield_groupsparameters, or via the form's location rules
- ACF frontend forms (
- 6.8.1Join now
4 new5 fixed1 securityJoin nowShow changesHide
New
- A
wp.datastore (acf/fields) is now available in ACF PRO for reading and writing ACF field values from JavaScript, which can be enabled via a newacf/settings/enable_datastorefilter (requires WordPress 6.7 or later). - ACF PRO block bindings now support live preview and editing in the block editor, when both the datastore and the
enable_block_bindingssetting are enabled. - ACF PRO can now save metabox field values via Gutenberg's native REST flow with full revision and autosave support when using the datastore.
- ACF PRO Blocks can now define their field group inline via an
acf.fieldsarray inblock.json, or via afieldsargument inacf_register_block_type(), with field keys auto-generated and scoped to the block
Fixed
- Repeater and Flexible Content row helpers no longer trigger a PHP 8.x
TypeErrorwhenrow_index_offsetor the active loop index is non-numeric - V3 Blocks with
hideFieldsInSidebarenabled no longer show fields in the sidebar after the inline toolbar popover is closed - Scrollbars no longer appear under the tabs in field groups containing many tabs
- The
acf/delete-{taxonomy}ability no longer returns a 501 error when called without an explicitforceargument, as terms cannot be trashed - The
prepare_field_for_ability_importfilter is now correctly removed after each Abilities field group import, preventing subsequent imports in the same request from having values corrupted
Security
- ACF now correctly checks user permissions before running database upgrades on a specific site in a multisite network
- A
- 6.8.0.1Join now
2 fixedJoin nowShow changesHide
Fixed
- V3 blocks with WYSIWYG fields no longer enqueue TinyMCE editor assets on the frontend
- V3 blocks with identical attributes and different InnerBlocks content no longer return cached output from the first block on the frontend
- 6.8.0Join now
4 new8 improved14 fixedJoin nowShow changesHide
New
- ACF now integrates with the WordPress Abilities API, allowing external consumers (AI tools) to manage field groups, post types, and taxonomies when explicitly enabled via the
enable_acf_aifeature flag - ACF can now generate JSON-LD structured data fields when explicitly enabled via the
enable_schemafeature flag - ACF now includes WP-CLI support with new
wp acf jsoncommands for importing, exporting, syncing, and checking the status of ACF JSON files - ACF custom post Types now support the WordPress 6.9+ "Notes" editor feature via a new "Notes" checkbox in the Supports settings
Improved
- The Blocks V3 "Open in Expanded Editor" button text can now be customized via a new
acf.expandedEditorButtonTextblock.json property - A new
acf/blocks/default_expanded_editor_button_textPHP filter allows customizing the default "Open in Expanded Editor" button text for all V3 blocks - The Blocks V3 edit and "Open in Expanded Editor" buttons can now be hidden via a new
acf.expandedEditorButtonsblock.json property - A new
blocks/expanded_editor_overlay_classJS filter allows customizing the CSS class on the Expanded Editor modal overlay - ACF Blocks V3 now preloads the block form HTML alongside the preview, eliminating an extra AJAX call on mount
- ACF inline script tags now use
wp_print_inline_script_tag()for Content Security Policy (CSP) compliance and nonce support - The Expanded Editor buttons are now hidden for V3 blocks that have no fields assigned
- I18n - Added Danish translation
Fixed
- Flexible Content fields now properly clean up nested postmeta when a parent layout containing nested Flexible Content fields is deleted
- The Expanded Editor "Done" button now stays disabled until the AJAX save completes, preventing data loss
- Pressing Escape while the Expanded Editor is saving will no longer close the modal, preventing data loss
- InnerBlocks content containing backslashes or dollar signs now renders correctly
- Auto Inline Editing now only applies to ACF Blocks V3, resolving incorrect hover/focus borders appearing on V2 blocks
- Validation errors in the V3 Expanded Editor no longer cause a dead-end state
- Icon Picker selections in Repeater fields no longer disappear
- Range field number input now syncs to the slider and correctly updates V3 block previews
- Message field Name and Instructions settings are no longer shown in the field group editor
- Image field no longer crashes in WordPress 7.0 release candidates
- Auto Inline Editing blocks now receive block context variables in render templates
- V3 blocks registered via PHP now correctly show the "Open in Expanded Editor" button
- Flexible Content disabled layouts now work correctly in Blocks V3
- Auto Inline Editing now works with blocks using
renderCallback
- ACF now integrates with the WordPress Abilities API, allowing external consumers (AI tools) to manage field groups, post types, and taxonomies when explicitly enabled via the
- 6.7.2Join now
5 securityJoin nowShow changesHide
Security
- Users'
unfiltered_htmlcapability is now correctly applied to REST API calls - Block Preview rendering now correctly checks the user has permission to edit that post
- Repeater fields using pagination now correctly checks the user has permissions to edit that post
- Flexible content fields layout title AJAX requests now correctly verify security nonces
- Clone field AJAX admin endpoints now correctly check ACF admin permissions for field group listings
- Users'
- 6.7.1Join now
2 securityJoin nowShow changesHide
Security
- User field AJAX queries now enforce field-configured role restrictions and validate search permissions
- Post Object, Relationship, and Page Link field AJAX queries now enforce field-configured restrictions for post status, post type, and taxonomy
- 202513 versions
- 6.7.0.1Join now
5 fixedJoin nowShow changesHide
Fixed
- Fields in V3 Blocks used as an InnerBlock are now clickable
- V3 Blocks with a script tag in the render template no longer crash in the editor
- V3 Blocks with Inline Editing enabled no longer crash the browser tab in some scenarios
- V3 Blocks with Inline Editing enabled used as an InnerBlock no longer update the field values of the parent block
- Quickly closing the expanded editor for V3 blocks will no longer prevent field values from being updated
- 6.7.0Join now
1 new3 improved4 fixedJoin nowShow changesHide
New
- ACF Blocks V3 now supports Inline Editing - edit your block content directly in place, right inside the editor. Just opt in to enable it.
Improved
- Accordion field accessibility improvements
- Google Maps field accessibility improvements
- Styling improvements to the V3 Blocks expanded editor
Fixed
- V3 ACF Blocks validation now clears properly when more than one block is in the editor.
- Relationship, Post Object, and Page Link fields now sort posts correctly on WordPress 6.8+
- List tables now respect the convert_field_name_to_lowercase javascript filter
- WYSIWYG field on attachment pages no longer sends ajax on every keystroke
- 6.6.2Join now
3 improved6 fixedJoin nowShow changesHide
Improved
- Added a new convert_field_name_to_lowercase JS filter to allow uppercase letters in ACF field names
- The form for V3 Blocks can now be optionally hidden from the sidebar via a new hideFieldsInSidebar setting in block.json
- V3 Blocks now display an Open Expanded Editor button in the sidebar for easier access to the full edit form
Fixed
- The buttons to reorder ACF metaboxes are no longer hidden for metaboxes in the block editor sidebar
- V3 Blocks now display a fallback message when the block preview can't be rendered due to invalid HTML being used in field values
- V3 Blocks no longer show a loading spinner when preloaded
- V3 Blocks now save default field values even if the block wasn't interacted with before saving
- Pressing CMD/CTRL + Z no longer causes the fields to disappear in V3 Blocks
- The form for V3 Blocks now opens on the left side in RTL languages
- 6.6.1Join now
7 fixedJoin nowShow changesHide
Fixed
- The Color Picker palette now displays correctly with a larger number of custom palette colors
- The WYSIWYG field no longer displays an extra textarea in ACF Blocks
- The type signature of the ACF Blocks render function now matches prior to 6.6, resolving potential type hinting errors
- V3 Blocks now correctly update the block preview when changing text controls
- V3 Blocks now work correctly in the Widget block editor
- V3 Blocks no longer render an extra hidden div into the block editor
- Fields on V3 blocks now consistently render properly when switching between “Post” and “Block” view in the sidebar
- 6.6.0Join now
2 new6 improved11 fixedJoin nowShow changesHide
New
- ACF Blocks Version 3 supports WordPress Block API Version 3
- ACF now requires WordPress version 6.2 or newer
Improved
- Field Groups can now have a separate Display Title
- Accessibility improvements for button groups, checkbox, radio, and image field types
- Color Picker field can now use a custom palette or use theme.json colors as the palette
- ACF admin notices now use WordPress core styles again
- The Flexible Content “Delete Layout” and “Rename Layout” modals now display correctly on mobile
- I18n - Updated PRO Japanese translations (props danielkun)
Fixed
- Blocks V3: You can now edit ACF blocks in Edit mode inside WP Core's pattern editor
- Blocks V3: Validation errors now first appear after you click "Save/publish", as opposed to immediately, while you are typing into a field for the first time
- Blocks V3: After fixing a field validation error it shows as fixed immediately as opposed to needing to click out of the block and back into it
- Blocks V3: Blocks with radio buttons no longer affect each other's field values
- Blocks V3: Blocks with required radio buttons now validate correctly
- Blocks V3: ACF field validation now works in the Site Editor
- Blocks V3: WYSIWYG fields are no longer affected by typing into other blocks
- New field names are lowercase only
- Icon Picker now enforces required validation
- Calls to jQuery’s deprecated focus function have been updated to use the trigger function
- Layouts inside cloned Flexible Content fields can now be disabled and renamed
- 6.5.1Join now
3 improved8 fixedJoin nowShow changesHide
Improved
- The Flexible Content “Expand All” and “Collapse All” button now appear correctly on mobile
- The Flexible Content delete layout button is now back in the main layout header, making it easier to delete layouts
- The JSON import tool now limits the selectable files to JSON files
Fixed
- Disabled Flexible Content layouts are no longer counted towards min/max layout validation
- The top “Add Row” button for layouts is now disabled when layouts have reached the max layouts validation
- The per-layout “Add Row” and “Duplicate Layout” buttons are now disabled when layouts have reached the max layouts validation
- Disabling Flexible Content layouts no longer disables layouts in cloned Flexible Content fields using a different post ID on the same page
- Flexible Content “Add Layout” menu is no longer hidden by some field types
- Flexible Content layout names can now allow some safe HTML
- When creating a temporary post type during import, ACF now correctly sets the ACF post type, rather than defaulting to post
- ACF PRO updates are now shown even when no other plugins have an update available
- 6.5.0.1Join now
3 fixedJoin nowShow changesHide
Fixed
- Flexible Content layouts configured with a "Layout" setting of "Table" are now rendered correctly in the post editor
- Flexible Content "Add Layout" buttons now insert the new layout in the correct position
- Long Flexible Content layout names no longer extend outside of the "Add Layout" dropdown
- 6.5.0Join now
5 new6 fixed1 securityJoin nowShow changesHide
New
- Flexible Content layouts can now be renamed in the post editor, giving content editors better clarity when managing layouts
- Flexible Content layouts can now be disabled, preventing them from rendering on the frontend without needing to delete their data
- Flexible Content layouts can now be collapsed and expanded in bulk for faster content editing
- Editing a Flexible Content layout now highlights the layout being edited, making it easier to identify
- The Date and Date Time Picker fields can now be configured to default to the current date
Fixed
- Custom Icon Picker tabs now work correctly when used inside an ACF Block
- Duplicating a Field Group no longer causes a fatal error when using Russian translations
- ACF classes no longer use dynamic class properties, improving compatibility with PHP 8.2+
- ACF PRO no longer shows an update available immediately after updating to the latest version
- Field group metabox collapse and expand buttons are no longer misaligned in the post editor
- The ACF Site Health section no longer causes a PHP warning when field group location rules are incomplete
Security
- HTML is now escaped from field validation errors and tooltips
- 6.4.3Join now
6 securityJoin nowShow changesHide
Security
- Unsafe HTML in field group labels is now correctly escaped for conditionally loaded field groups, resolving a JS execution vulnerability in the classic editor
- HTML is now escaped from field group labels when output in the ACF admin
- Bidirectional and Conditional Logic Select2 elements no longer render HTML in field labels or post titles
- The acf.escHtml function now uses the third party DOMPurify library to ensure all unsafe HTML is removed. A new esc_html_dompurify_config JS filter can be used to modify the default behaviour
- Post titles are now correctly escaped whenever they are output by ACF code. Thanks to Shogo Kumamaru of LAC Co., Ltd. for the responsible disclosure
- An admin notice is now displayed when version 3 of the Select2 library is used, as it has now been deprecated in favor of version 4
- 6.4.2Join now
1 new2 fixed1 securityJoin nowShow changesHide
New
- In ACF PRO, fields can now be added to WooCommerce Subscriptions when using HPOS
Fixed
- Paginated Repeater fields no longer save duplicate values when saving to a WooCommerce Order with HPOS disabled
- Blocks registered via acf_register_block_type() with a
parentvalue ofnullno longer fail to register
Security
- Changing a field type no longer enables the "Allow Access to Value in Editor UI" setting
- 6.4.1Join now
1 new2 improved3 fixedJoin nowShow changesHide
New
- Select fields can now be configured to allow creating new options when editing the field's value (requires the "Stylized UI" and "Multiple" field settings to be enabled)
Improved
- The "Escaped HTML" warning notice [introduced in ACF 6.2.5](https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/) is now disabled by default
- The Icon Picker field now supports supplying an array of icons to a custom tab via a new acf/fields/icon_picker/{tab_name}/icons filter
Fixed
- ACF Blocks are now forced into preview mode when editing a synced pattern
- The free ACF plugin once again works with the Classic Widgets plugin and the legacy ACF Options Page addon
- ACF no longer causes an infinite loop in bbPress when editing replies
- 6.4.0.1Join now
1 fixedJoin nowShow changesHide
Fixed
- Calling acf_get_reference() with an invalid field name no longer causes a fatal error
- 6.3.12Join now
1 improved2 fixedJoin nowShow changesHide
Improved
- Error messages that occur when field validation fails due an insufficient security nonce now have additional context
Fixed
- Duplicated ACF blocks no longer lose their field values after the initial save when block preloading is enabled
- ACF Blocks containing complex field types now behave correctly when React StrictMode is enabled
- 202422 versions
- 6.3.11Join now
1 improved3 fixedJoin nowShow changesHide
Improved
- Field Group keys are now copyable on click
Fixed
- Repeater tables with fields hidden by conditional logic now render correctly
- ACF Blocks now behave correctly in React StrictMode
- Edit mode is no longer available to ACF Blocks with an WordPress Block API version of 3 as field editing is not supported in the iframe
- 6.3.10Join now
2 improved1 fixed2 securityJoin nowShow changesHide
Improved
- A new “Close and Add Field” option is now available when editing a field group, inserting a new field inline after the field being edited
- ACF and ACF PRO now share the same plugin updater for improved reliability and performance
Fixed
- Exporting post types and taxonomies containing metabox callbacks now correctly exports the user defined callback
Security
- Setting a metabox callback for custom post types and taxonomies now requires being an admin, or super admin for multisite installs
- Field specific ACF nonces are now prefixed, resolving an issue where third party nonces could be treated as valid for AJAX calls
- 6.3.9Join now
1 fixed2 securityJoin nowShow changesHide
Fixed
- ACF fields now correctly validate when used in the block editor and attached to the sidebar
Security
- Editing an ACF Field in the Field Group editor can no longer execute a stored XSS vulnerability. Thanks to Duc Luong Tran (janlele91) from Viettel Cyber Security for the responsible disclosure
- Post Type and Taxonomy metabox callbacks no longer have access to any superglobal values, hardening the original fix from 6.3.8 further
- 6.3.8Join now
1 securityJoin nowShow changesHide
Security
- ACF defined Post Type and Taxonomy metabox callbacks no longer have access to $_POST data. (Thanks to the Automattic Security Team for the disclosure)
- 6.3.7Join now
1 securityJoin nowShow changesHide
Security
- ACF Free now uses its own update mechanism from WP Engine servers
- 6.3.6Join now
3 fixed2 securityJoin nowShow changesHide
Fixed
- Validation and Block AJAX requests nonces will no longer be overridden by third party plugins
- Detection of third party select2 libraries will now default to v4 rather than v3
- Block previews will now display an error if the render template PHP file is not found
Security
- Newly added fields now have to be explicitly set to allow access in the content editor (when using the ACF shortcode or Block Bindings) to increase the security around field permissions. [See the release notes for more details](https://www.advancedcustomfields.com/blog/acf-6-3-6/#field-value-access-editor)
- Security Fix - Field labels are now correctly escaped when rendered in the Field Group editor, to prevent a potential XSS issue. Thanks to Ryo Sotoyama of Mitsui Bussan Secure Directions, Inc. for the responsible disclosure
- 6.3.5Join now
5 fixedJoin nowShow changesHide
Fixed
- The ACF Shortcode now correctly outputs a comma separated list of values for arrays
- ACF Blocks rendered in auto mode now correctly re-render their previews after editing fields
- ACF Block validation no longer raises required validation messages if HTML will automatically select the first value when rendered
- ACF Block validation no longer raises required validation messages if a default value will be rendered as the field value
- ACF Block validation no longer raises required validation messages for fields hidden by conditional logic when adding a new block
- 6.3.4Join now
5 fixed1 securityJoin nowShow changesHide
Fixed
- Users without the
edit_postscapability but with custom capabilities for a editing a custom post type, can now correctly load field groups loaded via conditional location rules - Block validation no longer validates a field’s sub fields on page load, only on edit. This resolves inconsistent validation errors on page load or when first adding a block
- Deactivating an ACF PRO license will now remove the license key even if the server call fails
- Field types returning objects no longer cause PHP warnings and errors when output via
the_field,the_sub_fieldor the ACF shortcode, or when retrieved by aget_function with the escape html parameter set - Server side errors during block rendering now gracefully displays an error to the editor
Security
- Security Fix - The ACF shortcode now prevents access to fields from different private posts by default. View the [release notes](https://www.advancedcustomfields.com/blog/acf-6-3-4) for more information
- Users without the
- 6.3.3Join now
2 improved3 fixedJoin nowShow changesHide
Improved
- All dashicons are now available to the icon picker field type
- I18n - Fixed an untranslatable string on Option Page previews
Fixed
- The True/False field now correctly shows it’s description message beside the switch when using the Stylized UI setting
- Conditional logic values now correctly load options when loaded over AJAX
- ACF PRO will no longer trigger license validation calls when loading a front-end page
- 6.3.2.1Join now
1 fixedJoin nowShow changesHide
Fixed
- ACF Blocks no longer trigger a JavaScript error when fetched via AJAX
- 6.3.2Join now
5 securityJoin nowShow changesHide
Security
- Security Fix - ACF now generates different nonces for each AJAX-enabled field, preventing subscribers or front-end form users from querying other field results
- Security Fix - ACF now correctly verifies permissions for certain editor only actions, preventing subscribers performing those actions
- Security Fix - Deprecated a legacy private internal field type (output) to prevent it being able to output unsafe HTML
- Security Fix - Improved handling of some SQL filters and other internal functions to ensure output is always correctly escaped
- Security Fix - ACF now includes blank index.php files in all folders to prevent directory listing of ACF plugin folders for incorrectly configured web servers
- 6.3.1.2Join now
2 fixedJoin nowShow changesHide
Fixed
- ACF Blocks in widget areas no longer cause a fatal error when no context is available
- ACF Blocks with no fields assigned no longer show a gap in the sidebar where the form would render
- 6.3.1Join now
1 improved8 fixedJoin nowShow changesHide
Improved
- Options Pages registered in the UI can now be duplicated
Fixed
- ACF Block validation now correctly validates Repeater, Group, and Flexible Content fields
- ACF Block validation now correctly validates when a field is using a non-default return type
- Fields moved between field groups now correctly updates both JSON files
- Icon Picker fields now render correctly when using left-aligned labels
- Icon Picker fields no longer renders tabs if only one tab is selected for display
- Icon Picker fields no longer crash the post editor if no icon picker tabs are selected for displayed
- True/False field now better handles longer On/Off labels
- Select2 results loaded by AJAX for multi-select Taxonomy fields no longer double encode HTML entities
- 6.3.0.1Join now
2 fixedJoin nowShow changesHide
Fixed
- A possible fatal error no longer occurs in the new site health functionality for ACF PRO users
- A possible undefined index error no longer occurs in ACF Blocks for ACF PRO users
- 6.3.0Join now
9 new2 improved12 fixed1 otherJoin nowShow changesHide
New
- ACF now requires WordPress version 6.0 or newer, and PHP 7.4 or newer.
- ACF Blocks now support validation rules for fields. View the release notes for more information
- ACF Blocks now supports storing field data in the postmeta table rather than in the post content
- Conditional logic rules for fields now support selecting specific values for post objects, page links, taxonomies, relationships and users rather than having to enter the ID
- New Icon Picker field type for ACF and ACF PRO
- Icon selection for a custom post type menu icon
- Icon selection for an options page menu icon
- ACF now surfaces debug and status information in the WordPress Site Health area
- The escaped html notice can now be permanently dismissed
Improved
- Tab field now supports a
selectedattribute to specify which should be selected by default, and support class attributes - I18n - All errors raised during ACF PRO license or update checks are now translatable
Fixed
- Block Preloading now works reliably in WordPress 6.5 or newer
- Select2 results loaded by AJAX for post object fields no longer double encode HTML entities
- Custom post types registered with ACF will now have custom field support enabled by default to better support revisions
- The first preview after publishing a post in the classic editor now displays ACF fields correctly
- ACF fields and Flexible Content layouts are now correctly positioned while dragging
- Copying the title of a field inside a Flexible Content layout no longer adds whitespace to the copied value
- Flexible Content layout names are no longer converted to lowercase when edited
- ACF Blocks with attributes without a default now correctly register
- User fields no longer trigger a 404 when loading results if the nonce generated only contains numbers
- Description fields for ACF items now support being solely numeric characters
- The field group header no longer appears above the WordPress admin menu on small screens
- The acf/json/save_file_name filter now correctly applies when deleting JSON files
Other
- Other - The ACF Shortcode is now disabled by default for new installations of ACF as discussed in the ACF 6.2.7 release notes
- 6.2.10Join now
1 securityJoin nowShow changesHide
Security
- Security Fix - ACF Blocks no longer allow render templates, or render or asset callbacks to be overridden in the block's attributes. For full information, please read the release blog post
- 6.2.9Join now
1 improved3 fixedJoin nowShow changesHide
Improved
- The Select2 escapeMarkup function can now be overridden when initializing a custom Select2
Fixed
- “Hide on Screen” settings are now correctly applied when using conditionally loaded field groups
- Field names are no longer converted to lowercase when editing the name
- Field group titles will no longer convert HTML entities into their encoded form
- 6.2.8Join now
2 new1 improved5 fixed1 otherJoin nowShow changesHide
New
- Support for the Block Bindings API in WordPress 6.5 with a new
acf/fieldsource. For more information on how to use this, please read the release blog post - Support for performance improvements for translations in WordPress 6.5
Improved
- A new JS filter,
select2_escape_markupnow allows fields to customize select2's HTML escaping behavior
Fixed
- Options pages can no longer set to have a parent of themselves
- ACF PRO license activations on multisite subsite installs will now use the correct site URL
- ACF PRO installed on multisite installs will no longer try to check for updates resulting in 404 errors when the updates page is not visible
- ACF JSON no longer produces warnings on Windows servers when no ACF JSON folder is found
- Field and layout names can now contain valid non-ASCII characters
Other
- ACF PRO now requires a valid license to be activated in order to use PRO features. Learn more
- Support for the Block Bindings API in WordPress 6.5 with a new
- 6.2.7Join now
1 improved5 securityJoin nowShow changesHide
Improved
- ACF now universally uses WordPress file system functions rather than native PHP functions
Security
- The_field now escapes potentially unsafe HTML as notified since ACF 6.2.5. For full information, please read the release blog post
- Field and Layout names are now enforced to alphanumeric characters, resolving a potential XSS issue
- The default render template for select2 fields no longer allows HTML to be rendered resolving a potential XSS issue
- A
acf/shortcode/prevent_accessfilter is now available to limit what data the ACF shortcode is allowed to access - I18n translated strings are now escaped on output
- 6.2.6.1Join now
2 fixedJoin nowShow changesHide
Fixed
- Fatal JS error no longer occurs when editing fields in the classic editor when Yoast or other plugins which load block editor components are installed
- Using
$escape_htmlon get functions for array returning field types no longer produces an Array to string conversion error
- 6.2.6Join now
2 improved10 fixedJoin nowShow changesHide
Improved
- The
get_field()and otherget_functions now support anescape_htmlparameter which return an HTML safe field value - The URL field will be now escaped with
esc_urlrather thanwp_kses_postwhen returning an HTML safe value
Fixed
- ACF fields will now correctly save into the WordPress created revision resolving issues with previews of drafts on WordPress 6.4 or newer
- Multisite subsites will now correctly be activated by the main site where the ACF PRO license allows, hiding the updates page on those subsites
- Field types in which the
requiredproperty would have no effect (such as the tab, or accordion) will no longer show the option - Duplicating a field group now maintains the current page of field groups being displayed
- Fields in ACF Blocks in edit mode in hybrid themes will now use ACF's styling, rather than some attributes being overridden by the theme
- Text in some admin notices will no longer overlap the dismiss button
- The word
linkis now prohibited from being used as a CPT name to avoid a WordPress core conflict - Flexible content layouts can no longer be duplicated over their maximum count limit
- All ACF notifications shown outside of ACF's admin screens are now prefixed with the plugin name
- ACF no longer checks if a polyfill is needed for <PHP7 and the polyfill has been removed
- The
- 6.2.5Join now
3 securityJoin nowShow changesHide
Security
- 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 - ACF now warns via an admin message, when upcoming changes to
the_fieldandthe_sub_fieldmay require theme changes to your site to avoid stripping unsafe HTML. Please see the blog post for this release for more information - Users may opt in to automatically escaping unsafe HTML via a new filter
acf/the_field/escape_html_optinwhen usingthe_fieldandthe_sub_fieldbefore this becomes default in an upcoming ACF release.
- The ACF shortcode will now run all output through
- 20236 versions
- 6.2.4Join now
1 improved7 fixedJoin nowShow changesHide
Improved
- Maintenance and internal upstream messages from the ACF PRO activation server are now translatable
Fixed
- Custom Post Types labels now match the WordPress 6.4 behavior for "Add New" labels
- 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
- Advanced Settings for Taxonomies, Post Types or Options Pages now display with the correct top padding when toggled on
- When a parent option page is set to "Redirect to Child Page", the child page will now correctly show it's parent setting
- When activated as a must-use plugin, the ACF PRO "Updates" page is now visible. Use the existing
show_updatessetting to hide - When activated as a must-use plugin, ACF PRO licenses defined in code will now correctly activate sites
- When
show_updatesis set or filtered to false, ACF PRO will now automatically still activate defined licenses
- 6.2.3Join now
3 new3 improved5 fixedJoin nowShow changesHide
New
- An ACF Blocks specific JSON schema for block.json is now available on GitHub
- Flexible Content fields now show the layout name in the layout's header bar and supports click-to-copy
- Duplicating Flexible Content layouts now appends "Copy" to their name and label, matching the behavior of field group duplication
Improved
- 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
- Presentation setting for "High" placement of the Field Group made clear that it's not supported in the block editor
- ACF PRO license activation success and error messages are now translatable
Fixed
- Acf_format_date now ensures the date parameter is valid to prevent fatal errors if other data types are passed in
- CPTs with a custom icon URL now display the posts icon in the location column of the field groups screen
- The ACF JSON import form will now disable on first submit resolving an issue where you could submit the form twice
- The "Add Row" button in the Flexible Content field now displays correctly when using nested layouts
- Warning and Error notices no longer flicker on ACF admin pages load
- 6.2.2Join now
3 improved6 fixedJoin nowShow changesHide
Improved
- ACF Blocks which have not been initialized by the editor will now render correctly
- Added a new
acf/filesizefilter 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 - ACF PRO license status and subscription expiry dates are now displayed on the “Updates” page
Fixed
- Product pages for WooCommerce version 8.2 or newer now correctly support field group location rules
- Relationship field items can now be removed on mobile devices
- Color picker fields no longer autocomplete immediately after typing 3 valid hex characters
- Field settings no longer appear misaligned when the viewport is something other than 100%
- Select fields without an aria-label no longer throw a warning
- CPTs and Taxonomies with a custom text domain now export correctly when using PHP export
- 6.2.1.1Join now
1 fixedJoin nowShow changesHide
Fixed
- Editing a field group no longer generates an error when UI options pages are disabled
- 6.2.1Join now
2 new4 improved5 fixedJoin nowShow changesHide
New
- Options Pages created in the admin UI can now be assigned as child pages for any top-level menu item
- Added a "Title Placeholder" setting to ACF Post Types which filters the "Add title" text when editing posts
Improved
- ACF PRO will now warn when it can't update due to PHP version incompatibilities
- ACF PRO will now work correctly with WordPress automatic updates
- The internal ACF Blocks template attribute parser function
parseNodeAttrcan now be shortcut with the newacf_blocks_parse_node_attrfilter. - Removed legacy code for supporting WordPress versions under 5.8
Fixed
- The "Menu Position" setting is no longer hidden for child options pages
- The tabs for the "Advanced" settings in Post Types and Taxonomies are now rendered inside a wrapper div
- 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
- Conflict with Elementor CSS breaking the ACF PRO banner
- Errors generated during the block editor's
savePostfunction will no longer be caught and ignored by ACF
- 6.2.0Join now
4 new4 improved6 fixedJoin nowShow changesHide
New
- ACF now requires WordPress version 5.8 or newer, and PHP 7.0 or newer. View the release post for more information
- Bidirectional Relationships now supported for Relationship, Post Object, User and Taxonomy fields. View the release post for more information
- Options Pages can now be registered and managed by the admin UI in ACF PRO
- Link to the product feedback board added to the plugin footer
Improved
- ACF JSON now supports multiple save locations
- ACF Post Types and Taxonomies can now be duplicated
- The filename for JSON files can now be customized with the
acf/json/save_file_namefilter - Updated French and Portuguese translations
Fixed
- REST updates of fields with choices containing integer or mixed keys now behave correctly
- Using the
block_type_metadata_settingsPHP filter to add usesContext values no longer breaks ACF blocks - Notice to import post types/taxonomies from CPTUI no longer flashes on page load
- Various buttons for fields in blocks now display correctly
- The settings for the DateTime field are no longer cut off when nested in several fields in the field group editor
- 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_newlineto alter it.