[buddypress-trac] [BuddyPress Trac] #7069: $group object should be supplied to bp_get_group_name filter in bp-groups-admin.php

buddypress-trac noreply at wordpress.org
Tue May 17 19:42:40 UTC 2016


#7069: $group object should be supplied to bp_get_group_name filter in bp-groups-
admin.php
--------------------------------+-----------------------------
 Reporter:  garrett-eclipse     |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Component - Groups  |    Version:  2.5.0
 Severity:  normal              |   Keywords:
--------------------------------+-----------------------------
 In BP 2.5 the $group object was supplied to the bp_get_group_name filter
 as outlined in this ticket;
 https://buddypress.trac.wordpress.org/ticket/6752

 I noticed in bp-groups-admin.php there's a reference to this filter but
 it's missing the $group object;
 {{{#!php
 <?php
 $group_name = isset( $group->name ) ? apply_filters( 'bp_get_group_name',
 $group->name ) : '';
 }}}
 https://github.com/buddypress/BuddyPress/blob/f8dd8be7fca91a591614b65e3d515ce984efc16c/src
 /bp-groups/bp-groups-admin.php#L572

 Will need to be updated to also supply the $group object.

 Thanks

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


More information about the buddypress-trac mailing list