Skip to content

Commit

Permalink
Merge branch 'release/0.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslhotta committed Sep 14, 2023
2 parents e11dd7c + 02905ef commit 9d796e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
VVersion 0.8 (2023-08-24)
==========================
Version 0.8 (2023-09-14)
========================
- Fixed remove-user-from-network-command

Version 0.8 (2023-08-24)
========================
- Added support up to WordPress 6.3
- Added support for PHP 8.1

Expand Down
2 changes: 1 addition & 1 deletion includes/class-cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function add_user_to_network( $args, $assoc_args ) {
* @param $assoc_args
*/
public function remove_user_from_network( $args, $assoc_args ) {
$network = $this->get_network( $args[0] );
$network = $this->get_network( (int) $args[0] );
$user = $this->get_user( $args[1] );

$networks = get_user_meta( $user->ID, WP_Separate_User_Base::NETWORK_META_KEY, false );
Expand Down

0 comments on commit 9d796e9

Please sign in to comment.