[wp-trac] [WordPress Trac] #54520: Ensure that rest_after_insert_ actions are fired in template REST API controllers
WordPress Trac
noreply at wordpress.org
Mon Nov 29 11:42:05 UTC 2021
#54520: Ensure that rest_after_insert_ actions are fired in template REST API
controllers
--------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: REST API | Version: 5.8
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------------
Changes (by spacedmonkey):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"52268" 52268]:
{{{
#!CommitTicketReference repository="" revision="52268"
REST API: Ensure that the rest_after_insert_ action is executed in the
templates controller.
Fire the that dynamic action `rest_after_insert_{$this->post_type}` in
templates controller, as this action is fired in other post based REST API
controllers.
Props spacedmonkey, peterwilsoncc, zieladam.
Fixes #54520.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54520#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list