PluginProbe ʕ •ᴥ•ʔ
Advanced Custom Fields (ACF®) / 6.2.7
Advanced Custom Fields (ACF®) v6.2.7
6.8.3 6.8.2 6.8.1 5.8.5 5.8.6 5.8.7 5.8.8 5.8.9 5.9.0 5.9.1 5.9.2 5.9.3 5.9.4 5.9.5 5.9.6 5.9.7 5.9.8 5.9.9 6.0.0 6.0.1 6.0.2 6.0.3 6.0.4 6.0.5 6.0.6 6.0.7 6.1.0 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 6.1.8 6.2.0 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.6.1 6.2.7 6.2.8 6.2.9 6.3.0 6.3.1 6.3.10.2 6.3.11 6.3.12 6.3.2 6.3.3 6.3.4 6.3.5 6.3.6 6.3.6.1 6.4.0 6.4.0.1 6.4.1 6.4.2 6.4.3 6.5.0 6.5.1 6.6.0 6.6.1 6.6.2 6.7.0 6.7.1 6.7.2 6.8.0 trunk 1.0.0 1.0.2 1.0.3 1.0.5 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1.1 2.1.3 2.1.4 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.6 3.0.7 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.8 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.9 4.4.0 4.4.1 4.4.10 4.4.11 4.4.12 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 5.10 5.10.1 5.10.2 5.11 5.11.1 5.11.2 5.11.3 5.11.4 5.12 5.12.1 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.6.10 5.6.2 5.6.3 5.6.4 5.6.5 5.6.6 5.6.7 5.6.8 5.6.9 5.7.0 5.7.1 5.7.10 5.7.12 5.7.13 5.7.2 5.7.3 5.7.4 5.7.5 5.7.6 5.7.7 5.7.8 5.7.9 5.8.0 5.8.1 5.8.10 5.8.11 5.8.12 5.8.13 5.8.14 5.8.2 5.8.3 5.8.4
advanced-custom-fields / readme.txt
advanced-custom-fields Last commit date
assets 2 years ago includes 2 years ago lang 2 years ago README.md 2 years ago acf.php 2 years ago readme.txt 2 years ago
readme.txt
554 lines
1 === Advanced Custom Fields (ACF) ===
2 Contributors: deliciousbrains, wpengine, elliotcondon, mattshaw, lgladdy, antpb, andrewbotz, dalewilliams, polevaultweb
3 Tags: acf, fields, custom fields, meta, repeater
4 Requires at least: 5.8
5 Tested up to: 6.5
6 Requires PHP: 7.0
7 Stable tag: 6.2.7
8 License: GPLv2 or later
9 License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
11 Advanced Custom Fields (ACF) helps you easily customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 million websites, Advanced Custom Fields is the plugin WordPress developers love.
12
13 == Description ==
14
15 Advanced Custom Fields (ACF) turns WordPress sites into a fully-fledged content management system by giving you all the tools to do more with your data.
16
17 Use the ACF plugin to take full control of your WordPress edit screens, custom field data, and more.
18
19 **Add fields on demand.**
20 The ACF field builder allows you to quickly and easily add fields to WP edit screens with only the click of a few buttons! Whether it’s something simple like adding an “author” field to a book review post, or something more complex like the structured data needs of an ecommerce site or marketplace, ACF makes adding fields to your content model easy.
21
22 **Add them anywhere.**
23 Fields can be added all over WordPress including posts, pages, users, taxonomy terms, media, comments and even custom options pages! It couldn’t be simpler to bring structure to the WordPress content creation experience.
24
25 **Show them everywhere.**
26 Load and display your custom field values in any theme template file with our hassle-free, developer friendly functions! Whether you need to display a single value or generate content based on a more complex query, the out-of-the-box functions of ACF make templating a dream for developers of all levels of experience.
27
28 **Any Content, Fast.**
29 Turning WordPress into a true content management system is not just about custom fields. Creating new custom post types and taxonomies is an essential part of building custom WordPress sites. Registering post types and taxonomies is now possible right in the ACF UI, speeding up the content modeling workflow without the need to touch code or use another plugin.
30
31 **Simply beautiful and intentionally accessible.**
32 For content creators and those tasked with data entry, the field user experience is as intuitive as they could desire while fitting neatly into the native WordPress experience. Accessibility standards are regularly reviewed and applied, ensuring ACF is able to empower as close to anyone as possible.
33
34 **Documentation and developer guides.**
35 Over 10 plus years of vibrant community contribution alongside an ongoing commitment to clear documentation means that you’ll be able to find the guidance you need to build what you want.
36
37 = Features =
38 * Simple & Intuitive
39 * Powerful Functions
40 * Over 30 Field Types
41 * Extensive Documentation
42 * Millions of Users
43
44 = Links =
45 * [Website](https://www.advancedcustomfields.com/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Website)
46 * [Documentation](https://www.advancedcustomfields.com/resources/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Website)
47 * [Support](https://support.advancedcustomfields.com)
48 * [ACF PRO](https://www.advancedcustomfields.com/pro/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade)
49
50 = PRO =
51 The Advanced Custom Fields plugin is also available in a professional version which includes more fields, more functionality, and more flexibility. The ACF PRO plugin features:
52
53 * The [Repeater Field](https://www.advancedcustomfields.com/resources/repeater/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade) allows you to create a set of sub fields which can be repeated again, and again, and again.
54 * [ACF Blocks](https://www.advancedcustomfields.com/resources/blocks/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade), a powerful PHP-based framework for developing custom block types for the WordPress Block Editor (aka Gutenberg).
55 * Define, create, and manage content with the [Flexible Content Field](https://www.advancedcustomfields.com/resources/flexible-content/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade), which provides for multiple layout and sub field options.
56 * Use the [Options Page](https://www.advancedcustomfields.com/resources/options-page/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade) feature to add custom admin pages to edit ACF fields.
57 * Build fully customisable image galleries with the [Gallery Field](https://www.advancedcustomfields.com/resources/gallery/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade).
58 * Unlock a more efficient workflow for managing field settings by reusing existing fields and field groups on demand with the [Clone Field](https://www.advancedcustomfields.com/resources/clone/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade).
59
60 [Upgrade to ACF PRO](https://www.advancedcustomfields.com/pro/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Pro%20Upgrade)
61
62 == Installation ==
63
64 From your WordPress dashboard
65
66 1. **Visit** Plugins > Add New
67 2. **Search** for "Advanced Custom Fields" or “ACF”
68 3. **Install and Activate** Advanced Custom Fields from your Plugins page
69 4. **Click** on the new menu item "ACF" and create your first custom field group, or register a custom post type or taxonomy.
70 5. **Read** the documentation to [get started](https://www.advancedcustomfields.com/resources/getting-started-with-acf/?utm_source=wordpress.org&utm_medium=free%20plugin%20listing&utm_campaign=ACF%20Website)
71
72
73 == Frequently Asked Questions ==
74
75 = What kind of support do you provide? =
76
77 **Support Forums.** Our ACF Community Forums provide a great resource for searching and finding previously answered and asked support questions. You may create a new thread on these forums, however, it is not guaranteed that you will receive an answer from our support team. This is more of an area for ACF developers to talk to one another, post ideas, plugins and provide basic help. [View the Support Forum](https://support.advancedcustomfields.com/)
78
79
80 == Screenshots ==
81
82 1. Simple & Intuitive
83
84 2. Made for Developers
85
86 3. All About Fields
87
88 4. Registering Custom Post Types
89
90 5. Registering Taxonomies
91
92
93 == Changelog ==
94
95 = 6.2.7 =
96 *Release Date 27th February 2024*
97
98 * Security Fix - `the_field` now escapes potentially unsafe HTML as notified since ACF 6.2.5. For full information, please read [the release blog post](https://www.advancedcustomfields.com/blog/acf-6-2-7-security-release/)
99 * Security Fix - Field and Layout names are now enforced to alphanumeric characters, resolving a potential XSS issue
100 * Security Fix - The default render template for select2 fields no longer allows HTML to be rendered resolving a potential XSS issue
101 * Security Enhancement - A `acf/shortcode/prevent_access` filter is now available to limit what data the ACF shortcode is allowed to access
102 * Security Enhancement - i18n translated strings are now escaped on output
103 * Enhancement - ACF now universally uses WordPress file system functions rather than native PHP functions
104
105 = 6.2.6.1 =
106 *Release Date 7th February 2024*
107
108 * Fix - 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
109 * Fix - Using `$escape_html` on get functions for array returning field types no longer produces an Array to string conversion error
110
111 = 6.2.6 =
112 *Release Date 6th February 2024*
113
114 * Enhancement - The `get_field()` and other `get_` functions now support an `escape_html` parameter which return an HTML safe field value
115 * Enhancement - The URL field will be now escaped with `esc_url` rather than `wp_kses_post` when returning an HTML safe value
116 * Fix - ACF fields will now correctly save into the WordPress created revision resolving issues with previews of drafts on WordPress 6.4 or newer
117 * Fix - Multisite subsites will now correctly be activated by the main site where the ACF PRO license allows, hiding the updates page on those subsites
118 * Fix - Field types in which the `required` property would have no effect (such as the tab, or accordion) will no longer show the option
119 * Fix - Duplicating a field group now maintains the current page of field groups being displayed
120 * Fix - 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
121 * Fix - Text in some admin notices will no longer overlap the dismiss button
122 * Fix - The word `link` is now prohibited from being used as a CPT name to avoid a WordPress core conflict
123 * Fix - Flexible content layouts can no longer be duplicated over their maximum count limit
124 * Fix - All ACF notifications shown outside of ACF’s admin screens are now prefixed with the plugin name
125 * Fix - ACF no longer checks if a polyfill is needed for <PHP7 and the polyfill has been removed
126
127 = 6.2.5 =
128 *Release Date 16th January 2024*
129
130 * 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.](https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/) Thanks to Francesco Carlucci via Wordfence for the responsible disclosure
131 * Security - ACF now warns via an admin message, when upcoming changes to `the_field` and `the_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](https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/)
132 * Security - Users may opt in to automatically escaping unsafe HTML via a new filter `acf/the_field/escape_html_optin` when using `the_field` and `the_sub_field` before this becomes default in an upcoming ACF release.
133
134 = 6.2.4 =
135 *Release Date 28th November 2023*
136
137 * Fix - Custom Post Types labels now match the WordPress 6.4 behavior for "Add New" labels
138 * 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
139 * Fix - Advanced Settings for Taxonomies, Post Types or Options Pages now display with the correct top padding when toggled on
140 * Fix - When a parent option page is set to "Redirect to Child Page", the child page will now correctly show it's parent setting
141 * Fix - When activated as a must-use plugin, the ACF PRO "Updates" page is now visible. Use the existing `show_updates` setting to hide
142 * Fix - When activated as a must-use plugin, ACF PRO licenses defined in code will now correctly activate sites
143 * Fix - When `show_updates` is set or filtered to false, ACF PRO will now automatically still activate defined licenses
144 * i18n - Maintenance and internal upstream messages from the ACF PRO activation server are now translatable
145
146 = 6.2.3 =
147 *Release Date 15th November 2023*
148
149 * [View Release Post](https://www.advancedcustomfields.com/blog/acf-6-2-3/)
150 * New - An ACF Blocks specific JSON schema for block.json is now available on [GitHub](https://github.com/AdvancedCustomFields/schemas)
151 * New - Flexible Content fields now show the layout name in the layout's header bar and supports click-to-copy
152 * New - Duplicating Flexible Content layouts now appends "Copy" to their name and label, matching the behavior of field group duplication
153 * 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
154 * Enhancement - Presentation setting for "High" placement of the Field Group made clear that it's not supported in the block editor
155 * Fix - `acf_format_date` now ensures the date parameter is valid to prevent fatal errors if other data types are passed in
156 * Fix - CPTs with a custom icon URL now display the posts icon in the location column of the field groups screen
157 * Fix - The ACF JSON import form will now disable on first submit resolving an issue where you could submit the form twice
158 * Fix - The "Add Row" button in the Flexible Content field now displays correctly when using nested layouts
159 * Fix - Warning and Error notices no longer flicker on ACF admin pages load
160 * i18n - ACF PRO license activation success and error messages are now translatable
161
162 = 6.2.2 =
163 *Release Date 25th October 2023*
164
165 * Enhancement - ACF Blocks which have not been initialized by the editor will now render correctly
166 * Enhancement - Added a new `acf/filesize` filter to allow third party media plugins to bypass ACF calling `filesize()` on attachments with uncached file sizes, which may result in a remote download if offloaded
167 * Enhancement - ACF PRO license status and subscription expiry dates are now displayed on the “Updates” page
168 * Fix - Product pages for WooCommerce version 8.2 or newer now correctly support field group location rules
169 * Fix - Relationship field items can now be removed on mobile devices
170 * Fix - Color picker fields no longer autocomplete immediately after typing 3 valid hex characters
171 * Fix - Field settings no longer appear misaligned when the viewport is something other than 100%
172 * Fix - Select fields without an aria-label no longer throw a warning
173 * Fix - CPTs and Taxonomies with a custom text domain now export correctly when using PHP export
174
175 = 6.2.1.1 =
176 *Release Date 8th September 2023*
177
178 * Fix - Editing a field group no longer generates an error when UI options pages are disabled
179
180 = 6.2.1 =
181 *Release Date 7th September 2023*
182
183 * New - Options Pages created in the admin UI can now be assigned as child pages for any top-level menu item
184 * New - Added a "Title Placeholder" setting to ACF Post Types which filters the "Add title" text when editing posts
185 * Enhancement - ACF PRO will now warn when it can’t update due to PHP version incompatibilities
186 * Enhancement - ACF PRO will now work correctly with WordPress automatic updates
187 * Enhancement - The internal ACF Blocks template attribute parser function `parseNodeAttr` can now be shortcut with the new `acf_blocks_parse_node_attr` filter.
188 * Enhancement - Removed legacy code for supporting WordPress versions under 5.8
189 * Fix - The "Menu Position" setting is no longer hidden for child options pages
190 * Fix - The tabs for the "Advanced" settings in Post Types and Taxonomies are now rendered inside a wrapper div
191 * 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
192 * Fix - Conflict with Elementor CSS breaking the ACF PRO banner
193 * Fix - Errors generated during the block editor’s `savePost` function will no longer be caught and ignored by ACF
194
195 = 6.2.0 =
196 *Release Date 9th August 2023*
197
198 * [View Release Post](https://www.advancedcustomfields.com/blog/acf-6-2-0-released/)
199 * New - ACF now requires WordPress version 5.8 or newer, and PHP 7.0 or newer. View the [release post](https://www.advancedcustomfields.com/blog/acf-6-2-0-released/#version-requirements) for more information
200 * New - Bidirectional Relationships now supported for Relationship, Post Object, User and Taxonomy fields. View the [release post](https://www.advancedcustomfields.com/blog/acf-6-2-0-released/#bidirectional-relationships) for more information
201 * New - [Options Pages](https://www.advancedcustomfields.com/resources/options-page/) can now be registered and managed by the admin UI in ACF PRO
202 * New - Link to the [product feedback board](https://www.advancedcustomfields.com/feedback/) added to the plugin footer
203 * Enhancement - ACF JSON now supports multiple save locations (props Freddy Leitner)
204 * Enhancement - ACF Post Types and Taxonomies can now be duplicated
205 * Enhancement - The filename for JSON files can now be customized with the `acf/json/save_file_name` filter
206 * Fix - REST updates of fields with choices containing integer or mixed keys now behave correctly
207 * Fix - Using the `block_type_metadata_settings` PHP filter to add usesContext values no longer breaks ACF blocks
208 * Fix - Notice to import post types/taxonomies from CPTUI no longer flashes on page load
209 * Fix - Various buttons for fields in blocks now display correctly
210 * Fix - The settings for the DateTime field are no longer cut off when nested in several fields in the field group editor
211 * 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.
212 * i18n - Updated French and Portuguese translations (Thanks to pedro-mendonca and maximebj)
213
214 = 6.1.8 =
215 *Release Date 3rd August 2023*
216
217 * 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)
218
219 = 6.1.7 =
220 *Release Date 27th June 2023*
221
222 * New - Added new capability settings for ACF taxonomies
223 * 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
224 * Enhancement - Field setting labels now have standard capitalization in the field group editor
225 * Enhancement - Clone field now has a tutorial link
226 * Enhancement - "Exclude From Search" CPT setting now has an improved description
227 * Enhancement - The `acf_get_posts()` function now has `acf/acf_get_posts/args` and `acf/acf_get_posts/results` filters
228 * Enhancement - Added a new `acf/options_page/save` action hook that gets fired during save of ACF Options Pages
229 * Fix - Taxonomies are now initialized before post types, preventing some permalink issues
230 * Fix - Increased the taxonomy slug maximum length to 32 characters
231 * Fix - Extra tabs are no longer added to PHP exports with field settings containing multiple lines
232 * Fix - ACF admin assets now load when editing profile and users for a multisite network
233 * Fix - Blocks with recursive `render_callback` functions will no longer crash the editor
234 * Fix - JSON files now end in a new line for better compatibility with code editors
235 * i18n - `layout(s)` strings in Flexible Content fields are now translatable
236 * i18n - Updated Polish translations
237
238 = 6.1.6 =
239 *Release Date 4th May 2023*
240
241 * Security Fix - This release resolves an XSS vulnerability in ACF's admin pages (Thanks to Rafie Muhammad for the responsible disclosure)
242 * Fix - Duplicating fields in a new field group with field setting tabs disabled now behaves correctly
243
244 = 6.1.5 =
245 *Release Date 2nd May 2023*
246
247 * Enhancement - Creating a new field group from the post-save actions for a post type or taxonomy will automatically populate the field group title
248 * Enhancement - Empty values in list tables now display as a dash, rather than blank
249 * 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
250 * Enhancement - Post count and Term count values in list tables now link through to the matching posts or terms
251 * Enhancement - Added post-save actions to post type and taxonomies to create another
252 * Enhancement - Selecting existing taxonomies when registering a Custom Post Type is now available in the Basic settings section rather than Advanced
253 * Fix - `Exclude From Search` setting for custom post types now behaves correctly
254 * Fix - Duplicating fields with sub fields no longer results in JS errors
255 * Fix - Select2 field settings now render correctly when duplicating fields
256 * Fix - Checkbox fields allowing custom values which use integer keys can now be updated over the REST API
257 * Fix - Using the `No Permalink` rewrite setting for post type will no longer generate PHP warnings
258 * Fix - The `minimum rows not met` validation message for the Repeater field type now correctly states the minimum rows are not met
259 * Fix - The Range field type no longer cuts off three digit values
260 * Fix - `Created on` and `Delete Field Group` now correctly only appear on the Group Settings tab of a field group
261 * Fix - Padding for field settings tabs is now correct
262 * i18n - Updated all PRO translation files, removing legacy free strings which are now handled through [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields/stable/)
263 * i18n - Updated PRO translations with the latest contributions from [GitHub](https://github.com/AdvancedCustomFields/acf/tree/master/lang/pro) (Thanks to @MilenDalchev, @Xilonz and @wiliamjk)
264
265 = 6.1.4 =
266 *Release Date 12th April 2023*
267
268 * 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
269 * 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
270 * Fix - Post Type and Taxonomy key generation now uses dashes rather than underscores
271 * Fix - The "add first" text no longer appears when no search results are found for ACF field groups, post types or taxonomies
272
273 = 6.1.3 =
274 *Release Date 5th April 2023*
275
276 * Fix - 'Create Terms' button for taxonomy fields now displays correctly
277 * Fix - ACF JSON field group files which have unsupported keys (not beginning with `group_`) will now load as field groups
278 * Fix - Renaming capabilities for post types will now set `map_meta_cap` to `true` solving an issue with assigning permissions to roles for that post type
279
280 = 6.1.2 =
281 *Release Date 4th April 2023*
282
283 * [View Release Post](https://www.advancedcustomfields.com/blog/acf-6-1-0-released/)
284 * Fix - Calls to `acf_add_options_page` after `acf_add_local_field_group` before `acf/init` will now behave correctly
285 * i18n - All new ACF 6.1 strings are now correctly English (United States) by default
286
287 = 6.1.1 =
288 *Release Date 3rd April 2023*
289
290 * Fix - Calls to `acf_add_local_field_group` before `acf/init` now behave correctly
291
292 = 6.1.0 =
293 *Release Date 3rd April 2023*
294
295 * [View Release Post](https://www.advancedcustomfields.com/blog/acf-6-1-0-released/)
296 * New - Register Custom Post Types and Taxonomies using ACF. View the [release post](https://www.advancedcustomfields.com/blog/acf-6-1-0-released/#cpts-taxonomies) for full information
297 * New - A new field type selection browser providing details on each type of field. View the [release post](https://www.advancedcustomfields.com/blog/acf-6-1-0-released/#field-type-modal) for full information
298 * New - PHP 8.1 and 8.2 support
299 * 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.
300 * Enhancement - Post Object, Page Link and Relationship fields now support filtering by post status
301 * 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
302 * Fix - ACF Block field edit view buttons now work correctly inside reusable blocks
303 * Fix - An empty callback function in now passed to scripts to prevent JS warnings when using Google Map fields
304 * Fix - Checkbox field values now support keys indexed as 0
305 * Fix - Automatic deactivation of the free or PRO plugin when activating the other now displays the correct message in the admin notice
306 * Fix - Empty Flexible Content fields will no longer cause an error when used in the block editor on save
307 * Fix - Admin notices now behave correctly and are closable in RTL languages
308
309 = 6.0.7 =
310 *Release Date 18th January 2023*
311
312 * Improvement - Removed unnecessary “Layout” prefix for Flexible Content field layouts
313 * Fix - Dragging and dropping fields containing settings rendered as radio button groups no longer removes the selected value
314 * Fix - Using the WordPress `default_page_template_title` filter with two parameters no longer causes a fatal error
315 * Fix - Select2 inputs in the content editor are no longer receiving styles from the ACF 6 admin UI
316 * Fix - `acf_add_local_field_group()` now works with field group titles containing non-ASCII characters
317 * Fix - Flexible Content field no longer has a missing icon for the “Duplicate” button
318 * 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
319 * Fix - Edit buttons for ACF blocks now behave correctly inside reusable blocks
320 * Fix - Field settings rendered as a select2 field now correctly reinitialize when changing between field types
321
322 = 6.0.6 =
323 *Release Date 13th December 2022*
324
325 * [View Release Post](https://www.advancedcustomfields.com/blog/acf-6-0-6-release-flexible-content-field-layout-improvement/)
326 * New - Flexible Content field now has a new admin user experience when editing layouts
327 * 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`](https://www.advancedcustomfields.com/resources/acf-field_group-disable_field_settings_tabs) filter
328 * Improvement - General field settings tab now selected by default when a field is opened
329 * Fix - Sub fields are no longer initialized by their parent, resolving performance issues when field groups contain many nested sub fields
330 * Fix - Frontend forms now disable the submit button after click to prevent multiple submissions
331 * Fix - Unknown field types no longer display broken HTML in the field group editor
332 * 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
333 * Fix - Sites with WPML enabled no longer experience failed ACF updates due to license errors
334 * Fix - Buttons featuring icons no longer have display issues when using RTL languages
335
336 = 6.0.5 =
337 *Release Date 18th November 2022*
338
339 * Fix - Uploading multiple files nested in a subfield no longer causes a fatal error when using basic uploader (props @JoKolov)
340
341 = 6.0.4 =
342 *Release Date 8th November 2022*
343
344 * Improvement - JavaScript initialization performance while editing large field groups has been improved, especially in Safari
345 * Improvement - Tooltips for field settings are now shown as inline instructions
346 * Improvement - Saving a field group is now disabled until a field group title has been entered
347 * Improvement - Additional sanitization across various internal parts of the plugin
348 * Fix - Dragging and dropping a field in no longer opens the field settings in Firefox
349 * Fix - Copying the field name or key to the clipboard now works as expected for new or reordered fields, and subfields
350 * Fix - Saving a field group will now temporarily disable the "Save Changes" button while saving
351 * Fix - Block templates that include html comments as the first DOM element no longer crash the block editor on edit
352 * Fix - Block templates that include InnerBlocks on the DOM’s first level no longer trigger JS warnings
353 * Fix - Block templates that render other blocks now correctly render their InnerBlocks
354 * Fix - Legacy block attribute values are no longer overwritten by blank defaults of new versions
355 * Fix - Paginated Repeater fields now work with non-paginated Repeaters as subfields
356 * Fix - Repeater pagination is now properly disabled while inside blocks
357 * Fix - REST API no longer causes a PHP warning if `$_SERVER['REQUEST_METHOD']` is not defined
358 * Fix - REST API now supports integer keys for the Select field
359 * Fix - REST API now supports passing `null` to Image and File fields
360 * Fix - Invalid ACF meta keys no longer cause a fatal error when retrieved with `get_fields()`
361 * a11y - The Relationship field is now fully accessible for keyboard navigation
362 * i18n - Select dropdown arrow is now aligned correctly in RTL languages
363 * i18n - Radio buttons are now aligned correctly in RTL languages
364
365 = 6.0.3 =
366 *Release Date 18th October 2022*
367
368 * Security Fix - ACF shortcode security fixes detailed [here](https://www.advancedcustomfields.com/blog/acf-6-0-3-release-security-changes-to-the-acf-shortcode-and-ui-improvements/#acf-shortcode)
369 * Improvement - Field names and keys now copy to clipboard on click, and do not open a field
370 * Fix - The field type input now has default focus when adding a new field
371 * Fix - ACF no longer publishes `h1`, `h2` or `h3` CSS classes outside of the ACF admin screens
372 * Fix - Conditional field settings now work correctly across different tabs
373 * Fix - The field list for sub fields are now full width
374 * Fix - ACF admin notices now display with correct margin
375 * Fix - Admin CSS improvements when using ACF in an RTL language
376 * Fix - Clone fields now have the presentation tab for setting wrapper properties when in group display mode
377 * Fix - Appended labels on field settings will now be displayed in the correct place
378 * Accessibility - The move field modal is now keyboard and screen reader accessible
379
380 = 6.0.2 =
381 *Release Date 29th September 2022*
382
383 * Improvement - Field group and field rows no longer animate on hover to reveal the action links
384 * Fix - Field order is now saved correctly when fields are reordered
385 * Fix - WordPress notice styles outside of ACF's admin screens are no longer affected by the plugin's CSS
386
387 = 6.0.1 =
388 *Release Date 28th September 2022*
389
390 * Improvement - ACF's header bar inside our admin pages is no longer sticky
391 * Improvement - ACF's admin pages no longer use a custom font
392 * Fix - Duplicating flexible content layouts now works correctly
393 * Fix - ACF CSS classes no longer target translated class names for sub pages, resolving issues when using ACF in a language other than English
394 * Fix - ACF no longer reactivates when using WPML with different domains per language
395 * Fix - i18n - Labels for some field settings no longer break onto multiple lines in languages other than English
396 * Fix - Radio field types no longer generate a warning in logs due to invalid parameter counts
397 * Fix - True/False field focus states no longer apply outside ACF admin screens
398 * Fix - Focus states for many field types no longer show when interacting with a mouse input
399 * Fix - ACF 6’s new Tab background colors no longer apply outside ACF admin screens, increasing readability
400 * Fix - User fields named “name” no longer have a different label presentation view
401 * Fix - Changing field types with subfields no longer removes those fields when switching field type and back
402 * Fix - Resolved a potential fatal error if a third party plugin sets the global `$post_type` something other than a string
403 * Fix - Tooltip alignment is no longer incorrect inside subfields
404 * Fix - Resolved a potential JS error when third party plugins modify the metabox sort order
405
406 = 6.0.0 =
407 *Release Date 21st September 2022*
408
409 * New - ACF now has a new refreshed UI with improved UX for editing field groups, including a new tabbed settings layout for fields. Third party ACF extension plugin developers can read more about the optional changes they can make to support the new tabs in [our release announcement post](https://www.advancedcustomfields.com/blog/acf-6-0-released/#new-ui)
410 * New - Repeaters now have an optional "Pagination" setting which can be used to control the number of rows displayed at once. More details can be found on our [Repeater field documentation](https://www.advancedcustomfields.com/resources/repeater/#pagination)
411 * New - ACF Blocks now have a versioning system allowing developers to opt in to new features
412 * New - ACF Blocks now support version 2, enabling block.json support, reduced wrapper markup and significant other new features. Full details and examples of this can be found in [What's new with ACF Blocks in ACF 6](https://www.advancedcustomfields.com/resources/whats-new-with-acf-blocks-in-acf-6/)
413 * New - ACF Blocks no longer use Block IDs saved in the block comment. See [What's new with ACF Blocks in ACF 6](https://www.advancedcustomfields.com/resources/whats-new-with-acf-blocks-in-acf-6/#block-id) for more information.
414 * Enhancement - Bulk actions for field groups now include "Activate" and "Deactivate" options
415 * Fix - ACF will no longer perform a multisite database upgrade check on every admin load once each upgrade has been performed
416 * Fix - ACF Blocks preloading now works for blocks saved in edit mode
417 * Fix - ACF Blocks edit forms now behave correctly if they are not visible when loaded
418 * Fix - ACF Blocks now always fire `render_block_preview` events when a block preview is displayed or redisplayed
419 * Fix - ACF Blocks with no fields now display advisory text and are selectable in the block editor. This message is filterable with the acf/blocks/no_fields_assigned_message filter, providing both the message to be displayed and the block name it's being displayed against
420 * Fix - Accordions inside ACF Blocks now match the current native block styling
421 * Fix - ACF Blocks which contain no fields now preload correctly
422 * Fix - Changes to an ACF Block's context now trigger a re-render
423 * Fix - A rare warning inside `wp_post_revision_field` will no longer be possible
424 * Fix - The field “move” option now no longer displays for fields when only one field group exists
425 * Fix - Language for field group activation state now standardized to "active" and "inactive"
426 * Fix - SVGs containing `foreignObject` tags now correctly render in JSX rendered ACF Blocks
427 * Fix - Server errors during ACF updates or version checks are now cached for 5 minutes rather than 24 hours
428 * Accessibility - The new ACF UI has significantly improved accessibility for screen readers and alternative input options
429 * i18n - All strings inside ACF are now translatable
430 * i18n - Accented term names in taxonomy fields are no longer corrupted at output
431 * i18n - ACF translations are now synced with contributions from translation.wordpress.org at each release, increasing ACF's supported languages and updating many other translations. PRO strings should still be submitted as pull requests on GitHub (Additional thanks to maximebj, emreerkan and Timothée Moulin for their contributions which are included here)
432
433 = 5.12.6 =
434 *Release Date 4th May 2023*
435
436 * Security Fix - This release resolves an XSS vulnerability in ACF’s admin pages (Thanks to Rafie Muhammad for the responsible disclosure)
437
438 = 5.12.5 =
439 *Release Date 3rd April 2023*
440
441 * 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. See the [6.1.0 release post](https://www.advancedcustomfields.com/blog/acf-6-1-0-released/#security) for more information
442
443 = 5.12.4 =
444 *Release Date 18th October 2022*
445
446 * Security Fix - ACF shortcode security fixes from the ACF 6.0.3 release. See the [6.0.3 release post](https://www.advancedcustomfields.com/blog/acf-6-0-3-release-security-changes-to-the-acf-shortcode-and-ui-improvements/#acf-shortcode) for more information
447
448 = 5.12.3 =
449 *Release Date 14th July 2022*
450
451 * Security Fix - Inputs for basic file uploads are now nonced to prevent an issue which could allow arbitrary file uploads to forms with ACF fields (Thanks to James Golovich from Pritect, Inc.)
452
453 = 5.12.2 =
454 *Release Date 6th April 2022*
455
456 * Fix - Cloned fields in custom named options pages now behave correctly
457 * Fix - Default values and the `acf/load_value` filter are now applied if a field value load [fails security validation](https://www.advancedcustomfields.com/resources/acf-field-functions/#non-acf-data)
458 * Fix - The ACF field is no longer present in REST responses if the ACF REST API setting is disabled
459 * Fix - Duplicating a flexible content layout or repeater row now also replaces the field ID in `for` attributes
460
461 = 5.12.1 =
462 *Release Date 23rd March 2022*
463
464 * New - REST API now supports the comment route for displaying ACF fields.
465 * Fix - ACF now validates access to option page field values when accessing via field keys the same way as field names. [View More](https://www.advancedcustomfields.com/resources/acf-field-functions/#non-acf-data)
466 * Fix - REST API now correctly validates fields for POST update requests
467 * Fix - Fixed an issue where invalid field types caused an error during REST API requests
468 * Fix - Fixed a PHP warning when duplicating an empty field group
469 * Fix - Fixed a bug preventing block duplication detection changing an ACF Block’s ID if it was nested deeper than one level inside another block
470 * Fix - Fixed a bug where the `acf-block-preview` wrapper might not appear around a block if it was saved in edit mode
471 * i18n - Updated several translations from user contributions (Thanks to Dariusz Zielonka, Mikko Kekki and Alberto!)
472
473 = 5.12 =
474 *Release Date 23rd February 2022*
475
476 * [View Release Post](https://www.advancedcustomfields.com/blog/acf-5-12-released/)
477 * New - ACF blocks now support the new Full Site Editor included in WordPress 5.9
478 * New - ACF blocks now support the WordPress Query Loop block
479 * New - Added block caching system to reduce the number of AJAX calls in the block editor
480 * Enhancement - Block preloading can now be disabled by using "acf_update_setting( 'preload_blocks', false );" in the "acf/init" action hook
481 * Enhancement - ACF and ACF PRO will now detect if each other are active and deactivate the other plugin on plugin activation
482 * Fix - Fixed an issue with the media library not working correctly in ACF Blocks in WordPress 5.9.1
483 * Fix - Fixed an issue where anchors weren't working correctly in WordPress 5.9
484 * Fix - Fixed an issue where the "unfiltered_html" capability wasn't being used by ACF blocks
485 * Fix - Fixed an issue where it was impossible to update an ACF block inside the widget block editor
486 * Fix - Fixed an issue where ACF fields might not appear in REST API calls made via internal WordPress functions
487 * Fix - Warnings and PHP 8.1 deprecation notices in REST API
488 * Fix - Better support for double byte characters in "acf_get_truncated()" (props @cabradb)
489 * i18n - Broken link in the Croatian translation
490 * i18n - Automated building of acf.pot for translators in each release
491
492 = 5.11.4 =
493 *Release Date - 2nd December 2021*
494
495 * Fix - Fixed several Select2.js conflicts with other plugins
496 * Fix - Fixed an issue where block name sanitization could change valid block names containing double hyphens
497 * Fix - Fixed an issue where blocks with integer IDs could fail to load example field data
498
499 = 5.11.3 =
500 *Release Date - 24th November 2021*
501
502 * Fix - Fixed a bug when accessing field values for options pages registered with a custom post_id
503
504 = 5.11.2 =
505 *Release Date - 24th November 2021*
506
507 * Fix - Previously implemented data access changes for get_field() and the_field() are now limited to the ACF shortcode only. [Learn more](https://www.advancedcustomfields.com/resources/acf-field-functions/)
508 * Fix - get_field() and the_field() functions can once again access meta values regardless of being registered with ACF, restoring functionality that existed before 5.11
509 * Fix - get_field() and the_field() functions now are only able to access site options which are ACF fields
510 * Fix - UI issues for select boxes related to Yoast and WooCommerce’s select2 versions by upgrading our select2 version, and updating our CSS to support older versions
511 * Fix - User fields failed to load values when using the legacy select2 v3 option
512 * Fix - acf_slugify() now correctly supports special characters which solves issues with block names or field group names (during imports) containing those characters
513 * Fix - PHP Notice generated while processing a field group’s postbox classes
514
515 = 5.11.1 =
516 *Release Date - 18 November 2021*
517
518 * Enhancement - Added "acf/admin/license_key_constant_message" filter to allow changing of the "Your license key is defined in wp-config.php" message
519 * Fix - Added warning for when get_field() or similar functions are called before ACF has initialized. [Learn more](https://www.advancedcustomfields.com/resources/acf-field-functions/)
520 * Fix - Fixed fields not appearing on user REST API endpoints if their field group location was set to a user form other than "all"
521 * Fix - Fixed warning in REST API if a custom field type did not have the "show_in_rest" property
522 * Fix - Fixed an error that could occur if value of WYSIWYG field was not a string
523
524 = 5.11 =
525 *Release Date - 10 November 2021*
526
527 * [View Release Post](https://www.advancedcustomfields.com/blog/acf-5-11-release-rest-api/)
528 * New - Fields can now be viewed and updated with the WordPress REST API (props @mishterk)
529 * New - License key can now be defined in code with the "ACF_PRO_LICENSE" constant
530 * Enhancement - Improved error handling for expired or deactivated licenses
531 * Enhancement - Improved support for various block editor features, such as block styles and padding/spacing
532 * Enhancement - Added support for using WordPress "Screen Options" to hide field groups in Classic Editor
533 * Enhancement - Support filters adding custom classes on date and time field inputs
534 * Enhancement - Support filtering ACF shortcode attributes (with the "shortcode_atts_acf" filter)
535 * Fix - Removed usages of PHP "extract()" function
536 * Fix - Fixed a security issue with user field
537 * Fix - Fixed a security issue with "acf_get_value()"
538 * Fix - Correctly set ".acf-block-preview" wrapper when previewing a block in auto mode
539 * Fix - Resolved an issue with select2 rendering for nav menu fields
540 * Fix - Fixed an issue with file validation that occurred when removing a file that failed validation
541 * Fix - Fixed a notice in "acf_prepare_field()"
542 * Fix - Prevented an issue where setting an empty string for the return format of date and time fields would cause JS errors
543 * Fix - Fix issues with conditional logic for multi-select fields (props @bhujagendra-ishaya)
544 * Fix - Added support for Google Maps schema change which prevented Google Maps fields from correctly saving the city for some areas
545 * Fix - Fixed an issue where removing the collapsed property of a repeater prevents viewing previously collapsed rows
546 * i18n - Updated Polish Translations (props @webnatural)
547 * Dev - Formatted JavaScript to WordPress code standards
548
549 [View the full changelog](https://www.advancedcustomfields.com/changelog/)
550
551 == Upgrade Notice ==
552 = 6.2.5 =
553 From ACF 6.2.5, the shortcode will now escape unsafe HTML automatically. This may be a breaking change. Please view [our release blog](https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/) for more information.
554