Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/shawnhooper/delete-orphaned-multisite-tables/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Cleanup Multisite DB Tables (WP-CLI Custom Command)
Finds and delete orphaned tables in a WordPress Multisite network using WP-CLI.
Description
NOTE: This plugin requires you to be running the WP-CLI command line library.
Finds and delete orphaned tables in a WordPress Multisite network using WP-CLI. Useful when plugins don't properly clean up their tables after deletion in a multisite network.
Installation
- Upload this plugin's to the
/wp-content/plugins/delete-orphaned-multisite-tables/directory - Activate the plugin through the 'Plugins' menu in WordPress or by using the WP-CLI command:
wp plugin activate delete-orphaned-multisite-tables
Usage
How can I find orphaned Multisite tables
- Run
wp multisite-db listfrom the command-line
How can I delete orphaned Multisite tables
- Run
wp multisite-db delete --forcefrom the command-line
Changelog
1.0.1
- Updated build dependencies to fix critical vulnerability in Grunt
1.0
- First release. Allows listing & deleting of orphaned tables.