Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to clean database after uninstall ? #205

Open
ksubileau opened this issue Jan 1, 2015 · 4 comments
Open

How to clean database after uninstall ? #205

ksubileau opened this issue Jan 1, 2015 · 4 comments

Comments

@ksubileau
Copy link

Hi,
I want to uninstall the plugin, but when I do it using the Wordpress admin panel, all the entries in the database added by this plugin are not removed (tables postmeta, options, commentmeta...).

Unless I miss something, you don't provide any option to clean the database. You should provide an uninstall script, to allow users to keep their databases clean. Also, this could be useful for users who want to reinitialize the plugin's settings.

Meanwhile, please could you queekly give me here a safe SQL script to clean my Wordpress instance ?

@alexkingorg
Copy link
Contributor

Incredibly low priority and must be explicitly optional.

@ksubileau
Copy link
Author

Why it must be optional ? I disagree with that. If you want to swicth off the plugin while keeping data, you simply disable it. If you want to drop everything, you uninstall it. In fact, Wordpress already provides the option ! A lot of plugin work like so (WP SEO or W3 Total cache for instance).

@juanjosepablos
Copy link
Contributor

Kevin,
be polite on your request. You sound demanding. If you want something quickly, you are free to study the code. Check your wp_options table you may reset your settings there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@alexkingorg @juanjosepablos @ksubileau and others