* updated statuses logic;

This commit is contained in:
Mykyta Synelnikov
2024-09-30 23:10:15 +03:00
parent 67ea631681
commit 6f9be57495
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -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
}
/**