Closed asirota closed 2 years ago
Just to clarify, the existing setting "Delete all WildApricot Press settings from WordPress database" should both delete all WAP DB data AND the WA user metadata? It currently just deletes the user metadata.
And then if neither of the deletion options are checked, the plugin shouldn't delete any WAP or WA data from the site?
Just to clarify, the existing setting "Delete all WildApricot Press settings from WordPress database" should both delete all WAP DB data AND the WA user metadata? It currently just deletes the user metadata.
No keep that doing what it does. The label should say "Delete all WildApricot users added by WildApricot Press from WordPress database"
And then if neither of the deletion options are checked, the plugin shouldn't delete any WAP or WA data from the site?
Correct, this is the default state on install.
And should the DB or user option delete the WAP login page? Maybe the user option?
And should the DB or user option delete the WAP login page? Maybe the user option?
when the plugin is deactivated that's when the login page is deleted. When activated the login page is created as far as I understand.
There may be other auxiliary pages we create eventually with the theme so let's make it easy to add other pages to be deleted/created this way.
Ok. And what about the WAP post meta?
Ok. And what about the WAP post meta?
good point that should be the new option called "Delete all WildApricot Press related database options. This will delete all WildApricot Press licenses, authorization keys, page and post metadata like access restrictions, sync field options."
New description on deletion seettings
I wouldn't specify "first" or "second" box since the UI may be altered on certain devices.
Should the DB option also delete the logfile? Or should that be a separate option?
Should the DB option also delete the logfile? Or should that be a separate option?
Yes on deletion the logfile should be removed as well.
And the plugin should delete the block plugins as well? Despite what the deletion options are?
And the plugin should delete the block plugins as well? Despite what the deletion options are?
@asirota
No the deletion on wap should not Delete then block plugins. Are there any options for those ?
add a new checkbox to remove all WAP related database options in the wp_options table
Label it "Delete all WildApricot Press settings in WordPress database"