Skip to:
Content

Opened 3 weeks ago

Last modified 3 weeks ago

#7494 accepted enhancement

Take advantage of BP_Groups_Group magic methods in groups component setup

Reported by: dcavins Owned by: dcavins
Milestone: 2.9 Priority: normal
Severity: normal Version: 1.6
Component: Groups Keywords: has-patch dev-feedback
Cc: dcavins

Description

During single group setup in the BP Groups Component, we're doing some checks that duplicate logic done in BP_Groups_Group. We can take advantage of some of the recent work in BP_Groups_Group and simplify the single group setup.

Attachments (1)

7494.1.diff (4.1 KB) - added by dcavins 3 weeks ago.
Add $is_visible and $is_user_member properties to BP_Groups_Group object. Use magic methods in BP Groups Component single group setup.

Download all attachments as: .zip

Change History (3)

@dcavins
3 weeks ago

Add $is_visible and $is_user_member properties to BP_Groups_Group object. Use magic methods in BP Groups Component single group setup.

#1 @dcavins
3 weeks ago

  • Owner set to dcavins
  • Status changed from new to accepted

This ticket was mentioned in Slack in #buddypress by dcavins. View the logs.


3 weeks ago

Note: See TracTickets for help on using tickets.