Title: Keep setting data after deactive plugin for check bug
Last modified: October 26, 2017

---

# Keep setting data after deactive plugin for check bug

 *  Resolved [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/)
 * Hi. Can you please update function “Keep setting data after deactive plugin” 
   for check bug. Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [yorman](https://wordpress.org/support/users/yorman/)
 * (@yorman)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9623831)
 * Maybe for the next version of the plugin; thank you for the suggestion.
 *  Thread Starter [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9624465)
 * In my case everytime i deactive, i need speed 5-10mins to check all setting and
   get lost data record somehow. Because during build web, i used deactive all plugin
   few time a weeks when hits issue. With this update will help a lot.
 * Thank you so much.
 *  [Andrew Wilder](https://wordpress.org/support/users/eatingrules/)
 * (@eatingrules)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9638120)
 * +1
 * The plugin should not lose all its settings when it’s deactivated. Besides being
   a hassle, this is a big security issue — since most people won’t even realize
   that the settings have been lost.
 *  [ryanllogan](https://wordpress.org/support/users/ryanllogan/)
 * (@ryanllogan)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9681210)
 * +1
 * Just discovered this. Never seen a plugin do this before. Very odd.
 *  [yorman](https://wordpress.org/support/users/yorman/)
 * (@yorman)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9682289)
 * WordPress doesn’t provides a proper “uninstall” mechanism.
 * That’s why I decided to force the plugin to delete the data associated to it 
   during the deactivation, which seems to be the only thing that resembles the 
   uninstallation process. I have received more complains from people asking why
   was the plugin leaving traces of its data in the website after the deactivation
   than from people asking to keep the data intact.
 * The good news are, the plugin stores all its data in flat files which are easier
   to restore than information in the database. You can easily obtain a copy of 
   these files from the daily backups that all popular hosting providers offer generate.
   Regarding the audit logs, you can request a copy of your API key via email and
   after the re-activation of the plugin the API will send the logs that were previously
   recorded. At the end you are losing no data.
 * I will move this to our internal issue tracker and let my project manager decide.
 *  [ryanllogan](https://wordpress.org/support/users/ryanllogan/)
 * (@ryanllogan)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9682304)
 * I opened a separate ticket regarding importing settings. If we were able to easily
   import/export via a button, this would be way less of an issue. The whole process
   to get this plugin back where it was, is a pain. Also, when onboarding new sites,
   the process is cumbersome compared to other plugins out there.
 *  Thread Starter [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * (@oanhtran1804)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9684013)
 * By defaul the plugin delete all data after uninstall. It should change to “delete”
   not “uninstall”

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Keep setting data after deactive plugin for check bug’ is closed to new
replies.

 * ![](https://ps.w.org/sucuri-scanner/assets/icon-256x256.png?rev=2875755)
 * [Sucuri Security - Auditing, Malware Scanner and Security Hardening](https://wordpress.org/plugins/sucuri-scanner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sucuri-scanner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sucuri-scanner/)
 * [Active Topics](https://wordpress.org/support/plugin/sucuri-scanner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sucuri-scanner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sucuri-scanner/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [oanhtran1804](https://wordpress.org/support/users/oanhtran1804/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/keep-setting-data-after-deactive-plugin-for-check-bug/#post-9684013)
 * Status: resolved