Thanks for the excellent question.man-O-media wrote:Why is "Deactivation Safeguards" not on by default?
I had it on which I suspect was "Helpful". Why would you not want it on?
Yea, there is an ongoing debate over this topic. All of our software is designed this way, because we feel that WP plugin
Activation/Deactivation is the same as
Installing/Uninstalling software on your PC.
More importantly: since remaining/unused options left in the WordPress database can cause problems for a site
( i.e. optimization issues ), we feel it's important for s2Member to delete itself entirely upon Deactivation; at least by default. Only after a site owner has configured the General Options, and turned these Deactivation Safeguards (on), would s2Member preserve itself on that site.
Experimentation: This is part of the debate as well. For instance, if you were just trying s2Member out on your site
( but then quickly decide to remove it for whatever reason ), you may end up with several options in your database that are never going to be used again, along with s2Member Roles, etc, etc. So by default, if you remove the plugin, without having configured it first, s2Member cleans up after itself.
If however, you HAVE configured it, and you enabled the Deactivation Safeguards, this is NOT an issue. So, from a support standpoint, this works both for us, and against us. Thus, a topic of debate. We realize there are some ways in which this can be improved though, and we're planning to do just that. In the mean time, we're always open to ideas. One thing we'll probably start with is moving this panel up higher in the General Options panel so it's easier to spot right from the start. Ideally though, we'd like to create something that is more intuitive than what exists now.