Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
post_updated returns old term values #15777
When using post_updated or save_post hook with Gutenberg editor activated the data received inside the hook is data from before the update. It works when classic editor is in use.
Steps to reproduce the behavior:
dd_action('post_updated', 'taxtometa', 10, 3);
With Gutenberg activated it returns the "old" name of the term. If you do a "blank update" afterwards it returns the correct name.
Trying the same in with the old editor works fine.
Running 5.2.1 with MAMP 5.2.