Opened 15 years ago
Closed 14 years ago
#1420 closed defect (bug) (fixed)
Group invites problem in latest trunk revision
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Groups | Keywords: | |
Cc: |
Description
I installed latest trunk buddypress. Created 2 users (let's say user1 and user2). user1 created group "testgroup" and sent invite to user2. i logged in with user2 and went to http://localhost/members/user2/groups/invites/ . There is no pending invites (but in page source i see empty avatar tag). I tried to fix it and found that $group variable in BP_Groups_User_Groups_Template class contains only group id without other fields. Temporary fix:
file: wp-content/plugins/buddypress/bp-groups/bp-groups-templatetags.php
line: 249
was: if ( $this->single_group )
!$this->group->name ) |
Thanks, the way way groups are selected from the DB has changed in the trunk. This is one of a few repercussions of that.