I’m having the same issue with the way the json file is updated after using the sync feature.
* check in an updated json file to origin
* update remote using git pull via terminal
* hit sync on the remote via WP-admin
the json file is now modified with a new timestamp and “local”: “json” added to the end.
This creates an issue with our workflow since the remote should not be modifying files, and I have to do a git reset or checkout — before pulling any other changes.
Not sure when this issue was introduced, 5.2.8-5.3 all modify the json file when syncing.
We can get around the amended json issue locally by pulling the DB rather than using the sync feature. But can’t do this the other way around.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.