Hi,
Deleting the tables is a Premium feature.
Hi,
Apologies, it’s the option to optimise individual tables thats a Premium feature not the ability to remove them.
Plugins should normally automatically remove their tables when they are de-installed, if you go into phpMyAdmin (you can do this through your cpanel or you can use this plugin: https://ww.wp.xz.cn/plugins/wp-phpmyadmin-extension/).
Do you see the tables there?
I know, I’ve done that myself. But I mean that the WP-Optimize adds this feature to recognize LearnDash tables. Cuz it doesn’t recognize it. (And the remove feature is not available for it when it is not installed.)
This is a suggestion for future updates.
And about:
Plugins should normally automatically remove their tables when they are de-installed
No, that’s not true. That’s why your plugin exists!!! The WP-Optimize plugin has a remove option for plugins that are no longer installed but were installed before, so we can remove the tables they created and that we don’t want.
And about:
Do you see the tables there?
Yes, I see them because the plugins don’t automatically remove their tables after you uninstall them. So when you reinstall them, you can see the data and things you created before.
The normal practice is to deinstall tables. However, sometimes plugins are removed via FTP in which case all the tables and data remain. Also the plugin detects tables from plugins that are deactivated but not removed.
However, you are correct that the plugin should detect these tables
Would you be able to take upload a copy of the plugin and share the link with us (using something like we transfer). We can then test then do some testing and look at a fix?
Actually, that’s not true:
The normal practice is to deinstall tables. However, sometimes plugins are removed via FTP in which case all the tables and data remain.
As I explained earlier, most of the plugins don’t remove their tables, so when you reinstall them, your data remain. (For example, have you ever wondered why the custom post types of a plugin still remain, when you reinstall them after you’ve uninstalled them before? That’s why.)
By the way,
Please share these tables with the plugin developer so the plugin recognizes these too:
wp_learndash_pro_quiz_category
wp_learndash_pro_quiz_form
wp_learndash_pro_quiz_lock
wp_learndash_pro_quiz_master
wp_learndash_pro_quiz_prerequisite
wp_learndash_pro_quiz_question
wp_learndash_pro_quiz_statistic
wp_learndash_pro_quiz_statistic_ref
wp_learndash_pro_quiz_template
wp_learndash_pro_quiz_toplist
wp_learndash_user_activity
wp_learndash_user_activity_meta
Due to LearnDash being a premium plugin that I currently don’t have access to, I couldn’t verify the list of tables you provided. Nonetheless, I appreciate your suggestion and have taken note of it for future review. If any questions arise, we’ll get back to you. Thank you.