mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
* updated statuses logic;
This commit is contained in:
@@ -634,7 +634,7 @@ class Users {
|
||||
}*/
|
||||
|
||||
$status = $this->get_status( $user_id );
|
||||
return 'approved' !== $status;
|
||||
return 'approved' !== $status && 'inactive' !== $status; // inactive can be only reactivated
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user