[buddypress-trac] [BuddyPress Trac] #7496: Add 'slug' argument to BP_Groups_Group::get().

buddypress-trac noreply at wordpress.org
Wed Apr 5 00:00:41 UTC 2017


#7496: Add 'slug' argument to BP_Groups_Group::get().
-------------------------+----------------------
 Reporter:  dcavins      |       Owner:  dcavins
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.9
Component:  Groups       |     Version:  1.6
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by dcavins):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11523"]:
 {{{
 #!CommitTicketReference repository="" revision="11523"
 Add 'slug' parameter to BP_Groups_Group::get().

 Add `$slug` parameter to `groups_get_groups()` and its underlying
 function `BP_Groups_Group::get()`. Find a group or groups by passing a
 single slug, a comma- or space-separated list of slugs, or any array of
 slugs.

 Fixes #7496.
 }}}

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


More information about the buddypress-trac mailing list