[wp-trac] [WordPress Trac] #26904: General 'delete_plugins' hook needed

WordPress Trac noreply at wordpress.org
Wed Nov 18 17:57:50 UTC 2015


#26904: General 'delete_plugins' hook needed
-------------------------------------------------+-------------------------
 Reporter:  Veraxus                              |       Owner:
     Type:  enhancement                          |  DrewAPicture
 Priority:  normal                               |      Status:  closed
Component:  Plugins                              |   Milestone:  4.4
 Severity:  normal                               |     Version:  3.8
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:  fixed
                                                 |     Focuses:
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35669"]:
 {{{
 #!CommitTicketReference repository="" revision="35669"
 Plugins: Rename the `delete_plugin` action hook (introduced in [35094]) to
 `deleted_plugin` as it fires ''following'' a plugin deletion attempt.

 Further, introduce a new `delete_plugin` action hook, to be fired
 ''before'' a plugin deletion attempt. Both changes bring parity with other
 such transactional hooks in core that fire before and after certain
 actions, including on plugin activation/deactivation and
 install/uninstall, among others.

 Props johnjamesjacoby.
 Fixes #26904.
 }}}

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


More information about the wp-trac mailing list