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

WordPress Trac noreply at wordpress.org
Wed Jan 7 16:46:26 UTC 2015


#30940: Extend delete actions arguments
-------------------------------+------------------------------
 Reporter:  jadpm              |       Owner:
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by helen):

 Do you think it would be confusing to developers that it's not a WP_Post
 object? Do we do this anywhere else? I don't disagree that the hooks could
 use more context, `after_delete_post` in particular since the post won't
 exist anywhere anymore, not even in cache.

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


More information about the wp-trac mailing list