[wp-hackers] Uninstall Handling
otto at ottodestruct.com
Fri Apr 8 22:50:08 UTC 2011
On Fri, Apr 8, 2011 at 5:35 PM, Ken Brucker <Ken at pumastudios.com> wrote:
> Feels like re-inventing the wheel to have to put an 'uninstall' option into the plugin options page. Core will almost do what is needed and other authors that do use the documented method fall into the same trap. If the admin doesn't want to, or can't, supply FTP login information it's not possible to get to the uninstall handling built into the plugin. This seems like a design flaw.
No, it's not a design flaw. Uninstall means just that: uninstall. If
you don't give it the FTP login information, then it can't delete the
If it actually did run the uninstall code before getting the necessary
information to finish the uninstall and then delete the files, then
that most certainly *would* be a design flaw.
More information about the wp-hackers