Skip to content

Commit

Permalink
Default to false when the "network" flag is omitted
Browse files Browse the repository at this point in the history
  • Loading branch information
raicem committed Jun 8, 2023
1 parent 5773bd6 commit d48e549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ protected function get_all_items() {
* Success: Network activated 1 of 1 plugins.
*/
public function activate( $args, $assoc_args = array() ) {
$network_wide = Utils\get_flag_value( $assoc_args, 'network' );
$network_wide = Utils\get_flag_value( $assoc_args, 'network', false );
$all = Utils\get_flag_value( $assoc_args, 'all', false );
$all_exclude = Utils\get_flag_value( $assoc_args, 'exclude' );

Expand Down

0 comments on commit d48e549

Please sign in to comment.