From d4850dd6f1ff52b266845ebf7b8d70ec74689f87 Mon Sep 17 00:00:00 2001 From: Jesper V Nielsen <31649178+jespervnielsen@users.noreply.github.com> Date: Fri, 3 Apr 2020 12:13:14 +0200 Subject: [PATCH 1/2] Missing --network param for is-active The code checks for the argument "network" but its possible to add it, since the cli fails because its not declered as a valid param. --- src/Plugin_Command.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Plugin_Command.php b/src/Plugin_Command.php index 2559092bc..2e2b6ddcf 100644 --- a/src/Plugin_Command.php +++ b/src/Plugin_Command.php @@ -945,6 +945,9 @@ public function is_installed( $args, $assoc_args = array() ) { * * : The plugin to check. * + * [--network] + * : If set, check if plugin is network-activated + * * ## EXAMPLES * * # Check whether plugin is Active; exit status 0 if active, otherwise 1 From 0c776466c0a4f0801e108d09bc9e3298aa5c8058 Mon Sep 17 00:00:00 2001 From: Jesper V Nielsen <31649178+jespervnielsen@users.noreply.github.com> Date: Wed, 8 Apr 2020 13:33:27 +0200 Subject: [PATCH 2/2] Update src/Plugin_Command.php add missing dot Co-Authored-By: Alain Schlesser --- src/Plugin_Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin_Command.php b/src/Plugin_Command.php index 2e2b6ddcf..70b1d1a7a 100644 --- a/src/Plugin_Command.php +++ b/src/Plugin_Command.php @@ -946,7 +946,7 @@ public function is_installed( $args, $assoc_args = array() ) { * : The plugin to check. * * [--network] - * : If set, check if plugin is network-activated + * : If set, check if plugin is network-activated. * * ## EXAMPLES *