[buddypress-trac] [BuddyPress Trac] #7419: Use BP_Groups_Group::get() where possible.

buddypress-trac noreply at wordpress.org
Mon Jan 9 22:18:33 UTC 2017

#7419: Use BP_Groups_Group::get() where possible.
 Reporter:  dcavins      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Groups       |    Version:  2.7.2
 Severity:  normal       |   Keywords:  has-patch
 I'm fairly confident that `BP_Groups_Group::filter_user_groups()`,
 `BP_Groups_Group::search_groups()`, `BP_Groups_Group::get_random()`, and
 `BP_Groups_Group::get_by_letter()` (after #7418) can all be replaced by
 references to `BP_Groups_Group::get()` without any negative consequences.

 I'm attaching a patch that builds on the change put forth in #7418 to do

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

More information about the buddypress-trac mailing list