Open
Description
opened on Nov 28, 2022
Description
I'm not sure if this is related to issue #16006, but whenever I try to save an update to page content and an update to a custom field at the same time, it creates two revisions. The first revision shows the page content being changed and all the custom post meta values being removed and the second revision shows all the values being repopulated. It does this for new and published paegs. We're currently on WordPress 5.9.3 and ACF Pro version 5.11.4.
Step-by-step reproduction instructions
- Using ACF Pro v5.11.4, create a field group and add a custom field "Header Image Scale" to it. Make it a select box with values of
noZoom : No Zoom
one_twentyFive : 1.25x
one_fifty : 1.5x
one_seventyFive : 1.75x
two : 2x
Make noZoom the default value. - Create a new page and edit the page content as well as change the Header Image Scale to 1.5x.
- Save the page and check the revisions. There should be two revisions for the one save where the first one strips out the custom post meta and the second adds it back in.
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes, No
Activity