[wp-trac] Re: [WordPress Trac] #8783: Plugin Uninstall - Make it optional to uninstall the plugin on delete if uninstall.php exists within the plugin folder

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 20 06:18:01 GMT 2009


#8783: Plugin Uninstall - Make it optional to uninstall the plugin on delete if
uninstall.php exists within the plugin folder
--------------------------+-------------------------------------------------
 Reporter:  sc0ttkclark   |        Owner:     
     Type:  enhancement   |       Status:  new
 Priority:  normal        |    Milestone:  2.8
Component:  Plugins       |      Version:     
 Severity:  normal        |   Resolution:     
 Keywords:  dev-feedback  |  
--------------------------+-------------------------------------------------
Comment (by DD32):

 > simpler: the plugin should run the deactivate_plugin hook before being
 deleted no?

 No. The plugin is not active, And therefor, The deactivation hook should
 not be run.

 The plugin has to be first inactive in order for the user to be able to
 delete/uninstall it, So the deactivation hook has already been run at some
 point in the past.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8783#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list