mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 05:33:36 +09:00
Version 1.0.29
This commit is contained in:
+1
-1
@@ -135,7 +135,7 @@ class UM_User {
|
||||
$user_role = $this->get_role();
|
||||
$this->role_meta = $ultimatemember->query->role_data( $user_role );
|
||||
$this->role_meta = apply_filters('um_user_permissions_filter', $this->role_meta, $this->id);
|
||||
|
||||
|
||||
$this->profile = array_merge( $this->profile, (array)$this->role_meta);
|
||||
|
||||
$this->profile['super_admin'] = ( is_super_admin( $this->id ) ) ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user