[wp-trac] [WordPress Trac] #11850: Add plugin uninstaller notification text

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 12 20:31:19 UTC 2010


#11850: Add plugin uninstaller notification text
-------------------------+--------------------------------------------------
 Reporter:  cyberhobo    |       Owner:  westi                               
     Type:  enhancement  |      Status:  new                                 
 Priority:  normal       |   Milestone:  3.0                                 
Component:  Plugins      |     Version:                                      
 Severity:  normal       |    Keywords:  dev-feedback has-patch needs-testing
-------------------------+--------------------------------------------------

Comment(by cyberhobo):

 Thanks for the tip, I've updated my patch.

 I can't confirm your statement about is_uninstallable_plugin(), though.
 The attached plugin registers an uninstall hook. I found that if the
 plugin is never activated, is_uninstallable_plugin() returns false for it,
 and the hook is not run on deletion. After it is activated and
 deactivated, is_uninstallable_plugin() returns true for it and the hook is
 executed on deletion.

 Is that a bug for a separate ticket?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11850#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list