[wp-trac] [WordPress Trac] #47394: Gutenberg doesn't respond is_admin on firing save_post action

WordPress Trac noreply at wordpress.org
Sun May 26 19:32:47 UTC 2019


#47394: Gutenberg doesn't respond is_admin on firing save_post action
--------------------------+-----------------------------
 Reporter:  SGr33n        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.2.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,
 I'm the developer of a plugin that use the action save_post inside a
 is_admin() condition. It's working since the first version but if I
 activate Gutenberg doesn't work anymore, it begin working if I move the
 add_action outside the is_admin condition.

 Since this is a different behavior than before and I also see that on
 forums there are people asking why save_post doesn't work on Gutenberg
 (this is not true), I suppose this could be a bug.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47394>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list