[wp-trac] [WordPress Trac] #53730: too many tables after plugin unstallation

WordPress Trac noreply at wordpress.org
Mon Jul 26 14:59:49 UTC 2021


#53730: too many tables after plugin unstallation
-------------------------------+------------------------------
 Reporter:  cadentic2018       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Plugins            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by hellofromTonya):

 * keywords:   => reporter-feedback
 * version:  5.8 =>
 * component:  General => Plugins


Comment:

 Hello @cadentic2018,

 Welcome to WordPress Core Trac!

 I can appreciate the impact of artifacts left behind by a plugin that
 customized the site but did not clean up during its uninstall process. But
 I'm confused about what you're asking to be fixed in WordPress. Could you
 please provide more details?

 >all of these plugin authors should maintain an uninstallation guideline
 for the cleanup procedure.

 Yes, I agree. The responsibility is within the plugin that added artifacts
 (such as a new database table) to determine what and if these need to be
 cleaned during its uninstall process. In some cases, another plugin may be
 also be using the new table or a decision was made to retain the data
 instead of deleting it. But the knowledge of what and when lies within the
 plugin.

 >deactivations and deletions of plugins are not enough, we must have the
 complete cleanup procedure.

 Are you asking for the cleanup process to be moved into WordPress Core
 instead of each plugin doing it?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53730#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list