[wp-trac] [WordPress Trac] #45114: Fire publishing related hooks after all data is saved via the REST API.
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Dec  1 03:31:04 UTC 2020
    
    
  
#45114: Fire publishing related hooks after all data is saved via the REST API.
------------------------------------+----------------------------
 Reporter:  peterwilsoncc           |       Owner:  peterwilsoncc
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  5.6
Component:  REST API                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-dev-note has-patch  |     Focuses:
------------------------------------+----------------------------
Comment (by peterwilsoncc):
 I've created a pull request to send the additional data and added some
 unit tests to make sure the post object in it's before state isn't a
 pointer to the edited state (ie, that the object has been cloned one way
 or another).
 @TimothyBlynJacobs @johnbillion and others
 As I wrote the code I don't wish to play either of the review roles this
 close to RC2. I think the tests are pretty thorougher.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45114#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list