[wp-trac] [WordPress Trac] #34569: General purpose plugin uninstall hook

WordPress Trac noreply at wordpress.org
Fri Dec 11 20:33:27 UTC 2015


#34569: General purpose plugin uninstall hook
-------------------------+-----------------------------
 Reporter:  eclev91      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------
Changes (by swissspidy):

 * keywords:   => has-patch
 * version:  4.3.1 =>
 * milestone:  Awaiting Review => Future Release


Comment:

 [attachment:34569.diff] adds a `pre_uninstall_plugin` hook that runs
 before the plugin is uninstalled.

 This makes it easier for people to hook into `uninstall_plugin()`. If
 you're not aware of the `pre_update_option_uninstall_plugins` hook or that
 hook ever changes, the proposed addition makes it more transparent.

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


More information about the wp-trac mailing list