[wp-trac] [WordPress Trac] #13786: Problems with the current register_uninstall_hook implementation
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 8 17:30:20 UTC 2010
#13786: Problems with the current register_uninstall_hook implementation
--------------------------+-------------------------------------------------
Reporter: x3r0ss | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Plugins | Version: 3.0
Severity: normal | Keywords: hooks, plugins
--------------------------+-------------------------------------------------
Comment(by nacin):
That's basically what's going on now. We also just happen to store the
callback info.
Again, if we change behavior, then we break any plugin that registers an
uninstall hook on an activation hook, which is currently proper behavior.
We'd then be reversing that, and forcing plugins to register uninstall
hooks in global scope.
scribu has a workaround in #12754 that, while I don't think needs to go
into core, seems like a way to do exactly what you're trying to do here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13786#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list