[buddypress-trac] [BuddyPress] #3842: Group and member template functions should check current group/member as well

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Dec 12 16:18:31 UTC 2011


#3842: Group and member template functions should check current group/member as
well
--------------------------+----------------------------
 Reporter:  boonebgorges  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  minor         |  Milestone:  Future Release
Component:  Groups        |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+----------------------------
 Currently we have functions like bp_get_group_name(), which accept a
 $group object, and falls back on $groups_template->group if no $group is
 passed. Frustratingly, most of these functions do not work when viewing a
 specific group. Those functions should fall back on
 $bp->groups->current_group when possible.

 Same thing with members template functions. When possible, fall back on
 properties of $bp->displayed_user.

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


More information about the buddypress-trac mailing list