Open fredericalpers opened 4 months ago
@fredericalpers I have checked and listed the fields and tables related to the onOffice plugin that need to be deleted after uninstalling the plugin
24 fields in the wp_options table include 22 fields prefixed with "onoffice" and 2 other fields ("oo_plugin_db_version" and "add-detail-posts-to-rewrite-rules")
16 tables
After implementation, these tables and fields can be deleted after uninstalling the Plugin. Here is video evidence: https://files.fm/u/e7bw5kpecj#/view/gd84p5sp7v Please check and let me know your opinion. Thanks!
@dai-eastgate all tables/fields seem to be deleted after uninstalling the plugin. Thank you, we will review this as soon as possible. :)
Improve the Plugins consistency - Ensuring database cleanup on Plugin uninstallation
Introduction
Some data remains in the database, although it should actually be deleted when the plugin is uninstalled.
User Story
As a WordPress site owner, when I uninstall a plugin, I expect that it will not leave behind any unnecessary data in my database. Thins includes custom tables and entries that the plugin may have created or modified during its installation and usage. By ensuring a thorough clean up, my database remains optimized, reducing potential performance issues and conflicts with other plugins or future installations.
Requirements / Tasks
Design / Screenshots