[buddypress-trac] [BuddyPress Trac] #7608: Use BP_Groups_Group visibility and access properties.

buddypress-trac noreply at wordpress.org
Tue Mar 6 21:31:27 UTC 2018


#7608: Use BP_Groups_Group visibility and access properties.
-------------------------+-----------------------
 Reporter:  dcavins      |       Owner:  djpaul
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  3.0
Component:  Groups       |     Version:  2.9.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------

Comment (by dcavins):

 Hi @r-a-y-

 Thanks again for your feedback. The `group_id` is optional in those
 `bp_current_user_can()` calls because `bp_get_current_group_id()` is
 reliable in those two instances (and `bp_groups_user_can_filter()` ). I'm
 leaving it off to keep it simpler (in those template uses), but we can add
 it to be complete if that makes more sense.

 @boonebgorges, as the keeper of the history of the groups component, can
 you check my "historical note" in the attached patch to make sure I'm
 actually correct in my understanding?

 Thanks!

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7608#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list