[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 20:09:45 UTC 2019
#47394: Gutenberg doesn't respond is_admin on firing save_post action
--------------------------+----------------------
Reporter: SGr33n | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by ocean90):
* status: new => closed
* version: 5.2.1 =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
The block editor is using the REST API to get and save data, including
posts. So you either have to check for a REST request or remove the
condition altogether.
Related: https://github.com/WordPress/gutenberg/issues/11138
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47394#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list