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

WordPress Trac noreply at wordpress.org
Wed Oct 14 22:29:51 UTC 2020


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

Comment (by kraftbj):

 Re the name, I'm happy with it. `wp_after_insert_post` is similar enough
 to the existing hook that mental muscle memory still kicks in. "final",
 "finalized" imply things that I don't know they need to. "complete" would
 be okay too. "terms_meta" and "populated" feel off to me.

 All of this is subjective and I don't have any other particular ideas. So,
 yes, happy with `wp_after_insert_post`. :)

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


More information about the wp-trac mailing list