[buddypress-trac] [BuddyPress Trac] #7746: Update bp_get_group_join_button() to use new capabilities.
buddypress-trac
noreply at wordpress.org
Wed Apr 11 18:10:01 UTC 2018
#7746: Update bp_get_group_join_button() to use new capabilities.
-------------------------+----------------------
Reporter: dcavins | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.1
Component: Groups | Version: 2.9.4
Severity: normal | Keywords:
-------------------------+----------------------
I missed this function when combing for group capabilities. As is, it's a
switch based on group type, but could now be a cascade of elseifs checking
for capabilities, like:
• If user can leave the group
• If user can receive invites to this group, and has an outstanding invite
• If user can join the group
• If user can request membership
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7746>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list