-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
REST API InteractionRelated to REST APIRelated to REST API[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Milestone
Description
Describe the bug
When submitting a post update or an new post, it appears the transition_post_status hook(s) get called twice. First without the is_admin flag, then with is_admin passing true. The result may be unexpected as actions may behave differently or different actions may be included in both runs.
Please note this behavior is not seen with the classic editor.
Related issue #12897
To reproduce
I'll write a quick test plugin to show what is happening and how it may affect behavior...
drov0, rgomezp, jkasten2, failedCoder, codemonkeyWebX and 6 morewajrou
Metadata
Metadata
Assignees
Labels
REST API InteractionRelated to REST APIRelated to REST API[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended