mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 06:33:50 +09:00
Fix community role editing
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ class UM_User {
|
||||
function community_role_edit( $user ) {
|
||||
global $ultimatemember;
|
||||
if ( current_user_can( 'edit_users' ) && current_user_can( 'edit_user', $user->ID ) ) {
|
||||
$user = get_userdata( $user->ID );
|
||||
um_fetch_user( $user->ID );
|
||||
?>
|
||||
<table class="form-table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user