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

WordPress Trac noreply at wordpress.org
Wed Dec 12 21:11:31 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 fixed-5.0  |     Focuses:  rest-api
---------------------------------+--------------------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"43987" 43987]:
 {{{
 #!CommitTicketReference repository="" revision="43987"
 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, danielbachhuber.

 Merges [43737] to trunk.

 Fixes #42864.
 }}}

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


More information about the wp-trac mailing list