Advanced Custom Fields

Prevent field-group saves when ACF Local JSON has pending sync changes
When ACF Local JSON is enabled, it is possible for an admin/developer to open and update a field group in the WordPress admin while that field group has a pending JSON sync. This can create confusion and risk overwriting newer field-group changes from Local JSON, especially on team projects where ACF field groups are committed to Git and synced between environments. Suggested native behaviour: Detect when a non-private Local JSON field group is missing from the database or has a newer modified timestamp than the database version. Show a clear admin notice linking to the ACF sync screen. Disable or warn against saving the field group until the pending sync has been resolved. Ideally block the save server-side as well, so the protection does not rely only on UI state. I built a small proof-of-concept plugin that handles this currently: https://wordpress.org/plugins/fieldlock-sync-guard-for-acf/ The plugin: Detects pending ACF Local JSON syncs. Shows an admin notice. Disables the Update button on ACF field-group edit screens. Blocks normal field-group saves server-side while a sync is pending. Ignores private Local JSON files. This feels like something that would benefit ACF users directly in core/ACF Pro, because it protects field-group changes in Git-based and multi-developer workflows without requiring an additional plugin. I’d love to see this considered as a native ACF feature, or at least as an official option/filterable safeguard for Local JSON workflows.
0
Bug: Conditional logic hides <td> but leaves <th> visible in Repeater fields after recent update
After updating to the latest version, conditional logic inside the Repeater field broke for table headers (<th>). When a sub-field's conditional logic hides a column, the corresponding <td> elements in the <tbody> correctly receive the .acf-hidden class and hidden attribute. However, the <th> elements in the <thead> remain completely visible. This causes the table headers and data columns to mismatch, severely breaking the layout of the admin UI. Steps to reproduce: Create an ACF Repeater field with a "Select" sub-field (e.g., source_type) and several other sub-fields that depend on its value (e.g., File, URL, Text fields). Set up Conditional Logic on those dependent fields to hide/show them based on the selected option. Open the post/page editing screen where this Repeater is located. Toggle the select field. Notice that while the input cells (<td>) hide and show correctly, the table headers (<th>) stay visible at all times, causing the columns to shift layout. Expected behavior: The JS script should toggle the .acf-hidden class on both the table headers (<th>) and the table data cells (<td>) simultaneously, keeping the table layout consistent. Actual behavior: The <th> headers are ignored by the conditional logic script and remain visible, leaving empty headers over mismatched data columns. Additional Information / Context Environment: WordPress Version: 7.0 ACF/ACF Pro Version: 6.8.5
1
·
under review
Load More