Version 1.0.29

This commit is contained in:
ultimatemember
2015-01-28 17:16:04 +02:00
parent 31dc7962bf
commit 78833fa2e3
24 changed files with 290 additions and 41 deletions
+1 -1
View File
@@ -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;