[wp-trac] [WordPress Trac] #42864: REST API: Fire an action after items are completely inserted/updated

WordPress Trac noreply at wordpress.org
Wed Oct 17 11:19:06 UTC 2018


#42864: REST API: Fire an action after items are completely inserted/updated
--------------------------+--------------------------------
 Reporter:  pento         |       Owner:  timothyblynjacobs
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.0
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+--------------------------------
Changes (by danielbachhuber):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43737" 43737]:
 {{{
 #!CommitTicketReference repository="" revision="43737"
 REST API: Fire actions after items are completely updated/inserted.

 The existing `rest_insert_*` actions are fired before meta and additional
 fields are updated. These new `rest_after_*` actions fire after all write
 operations have completed.

 Props timothyblynjacobs.
 Fixes #42864.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42864#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list