Version 1.0.25

This commit is contained in:
ultimatemember
2015-01-26 16:58:31 +02:00
parent 33617b72c5
commit adebeee3d5
16 changed files with 561 additions and 333 deletions
+2
View File
@@ -134,6 +134,8 @@ class UM_User {
// add permissions
$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;