[wp-trac] [WordPress Trac] #20578: Allow users to delete a plugin without uninstalling
WordPress Trac
noreply at wordpress.org
Sat Jan 16 13:50:09 UTC 2016
#20578: Allow users to delete a plugin without uninstalling
-------------------------------------------------+-------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: ux-feedback ui-feedback has-patch | Focuses: ui
has-screenshots |
-------------------------------------------------+-------------------------
Comment (by jdgrimes):
Replying to [comment:30 swissspidy]:
> Replying to [comment:28 grapplerulrich]:
> > > Any unintentional data loss should be avoided, maybe just better
explain what "data" is? :)
> > The data could be custom post types, settings, metadata or even custom
tables. Anything that the plugin adds to the database during usage
"should" be deleted on uninstall.
>
> Perhaps we could add a hook where plugins can describe what exactly they
would delete? Would look weird with many plugins displaying such info
though.
The plugins are deactivated at that point. :-) This couldn't be a hook, it
would have to be a file header or something. See #31136.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20578#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list