Update 1.0.89

This commit is contained in:
ultimatemember
2015-03-18 18:38:22 +02:00
parent 1653677136
commit 89722448cb
9 changed files with 70 additions and 45 deletions
-4
View File
@@ -150,10 +150,6 @@ class UM_User {
$this->profile[$k] = $v[0];
}
// add user stuff
$this->profile['post_count'] = $ultimatemember->query->count_posts($this->id);
$this->profile['comment_count'] = $ultimatemember->query->count_comments($this->id);
// add permissions
$user_role = $this->get_role();
$this->role_meta = $ultimatemember->query->role_data( $user_role );