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

buddypress-trac noreply at wordpress.org
Tue Oct 10 17:14:53 UTC 2017


#7608: Use BP_Groups_Group visibility and access properties.
-------------------------+-----------------------
 Reporter:  dcavins      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  3.0
Component:  Groups       |    Version:  2.9.0
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------
 When checking visibility for the current user, use the `is_visible`
 property in `BP_Groups_Group` rather than calculating it again. Similarly,
 use the `user_has_access` property when checking access to a group.
 (`is_visible` was introduced in 2.9.)

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


More information about the buddypress-trac mailing list