[wp-trac] [WordPress Trac] #45114: Fire publishing related hooks after all data is saved via the REST API.

WordPress Trac noreply at wordpress.org
Fri Oct 16 09:38:36 UTC 2020


#45114: Fire publishing related hooks after all data is saved via the REST API.
-------------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                        |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.6
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  dev-feedback has-patch commit        |     Focuses:
  needs-dev-note                                 |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"49173" 49173]:
 {{{
 #!CommitTicketReference repository="" revision="49173"
 Docs: Add `@since` tags for the `fire_after_hooks` parameter of
 `wp_insert_post()`, `wp_update_post()`, and `wp_insert_attachment()`.

 Document the parameter as optional.

 Follow-up to [49172].

 See #45114.
 }}}

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


More information about the wp-trac mailing list