wp-cli / extension-command

Manages plugins and themes, including installs, activations, and updates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uninstall with `--deactivate` flag

craigtommola opened this issue · comments

user@server:/data/blogs$ wp plugin uninstall google-analyticator --deactivate
Deactivating 'google-analyticator'...
Warning: Plugin 'google-analyticator' is network active and must be deactivated with --network flag.
Uninstalled and deleted 'google-analyticator' plugin.
Success: Uninstalled 1 of 1 plugins.

Despite the warning that a plugin was network active and must be deactivated with the --network flag, the plugin was in fact deleted. No skin off my nose, but it seems contradictory or unintended, based on the warning message.

A candidate for good-first-issue ?

I'll be looking at this!