[wp-trac] [WordPress Trac] #58392: Add $post parameter to the wp_trash_post action.

WordPress Trac noreply at wordpress.org
Tue May 30 05:54:53 UTC 2023


#58392: Add $post parameter to the wp_trash_post action.
-------------------------------------------+---------------------
 Reporter:  mujuonly                       |       Owner:  (none)
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  6.3
Component:  Posts, Post Types              |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  dev-feedback needs-unit-tests  |     Focuses:
-------------------------------------------+---------------------
Changes (by costdev):

 * keywords:  dev-feedback => dev-feedback needs-unit-tests


Comment:

 This ticket was discussed during the bug scrub. As this is new code and to
 ensure that the parameters are always passed in future, we agreed that
 this should have a unit test to verify the expected parameters are
 received.

 Additional props: @mukesh27 @oglekler

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


More information about the wp-trac mailing list