[wp-trac] [WordPress Trac] #35555: WordPress should REMOVE Plugins (Themes may be) DB record after deletion
WordPress Trac
noreply at wordpress.org
Thu Jan 21 11:08:44 UTC 2016
#35555: WordPress should REMOVE Plugins (Themes may be) DB record after deletion
-------------------------------+----------------------
Reporter: talha-presstigers | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 4.4.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
-------------------------------+----------------------
Changes (by swissspidy):
* status: new => closed
* resolution: => invalid
* severity: major => normal
* milestone: Awaiting Review =>
Comment:
Hey there, thanks for your report!
I know that unneeded database tables or entries can be annoying and
slowing down things, but it's impossible for WordPress to automatically
know what records a plugin creates in the database.
That's why plugins are encouraged to register an
[https://codex.wordpress.org/Function_Reference/register_uninstall_hook
uninstall hook] to remove any data upon plugin deletion themselves.
If a plugin properly does that, a button like you described in your
screenshot is automatically added. If a plugin doesn't implement this, you
should really talk to its developer.
See also #20578 for UX improvements for the uninstall process.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35555#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list