Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filters are incorrectly applied in the __experimental/menu-items cont…
…roller (#34857) * We don't need to apply these filters (title_save_pre, exceprt_save_pre, content_save_pre) as they get applied later inside the wp_insert_post function. * Implement a regression test to check that we don't call fiilter callbacks more than once. * Revert accidental change. * Implement a regression test to check that we don't call fiilter callbacks more than once when updating a menu item. * Refactor the method name. * Fix code style. * Remove the unit tests as suggested here: #34857 (comment)
- Loading branch information