[wp-trac] [WordPress Trac] #45114: Fire publishing related hooks after all data is saved via the REST API.
WordPress Trac
noreply at wordpress.org
Mon Nov 30 22:44:28 UTC 2020
#45114: Fire publishing related hooks after all data is saved via the REST API.
--------------------------------------+----------------------------
Reporter: peterwilsoncc | Owner: peterwilsoncc
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.6
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-dev-note needs-patch | Focuses:
--------------------------------------+----------------------------
Comment (by TimothyBlynJacobs):
I think it would be `null` not `false` right? https://github.com/WordPress
/wordpress-develop/blob/0d53804ea3e8a9dc40f8b6c9c481aa7a8fecb77c/src/wp-
includes/post.php#L784
That'd be my personal preference because we're clearly saying this post
didn't exist before.
I think we could conceivably hold off to 5.7, but if plugins adopt calling
the new action immediately, that could lead to more inconsistencies.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45114#comment:62>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list