[wp-trac] [WordPress Trac] #30940: Extend delete actions arguments

WordPress Trac noreply at wordpress.org
Tue Apr 14 19:25:02 UTC 2020


#30940: Extend delete actions arguments
-------------------------------+----------------------
 Reporter:  jadpm              |       Owner:  ocean90
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  5.5
Component:  Posts, Post Types  |     Version:  4.2
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+----------------------
Changes (by ocean90):

 * owner:  (none) => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47582" 47582]:
 {{{
 #!CommitTicketReference repository="" revision="47582"
 Posts, Post Types: Pass the post object to the `before_delete_post`,
 `delete_post`, `deleted_post`, and `after_delete_post` actions.

 Props jadpm.
 Fixes #30940.
 }}}

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


More information about the wp-trac mailing list