[buddypress-trac] [BuddyPress Trac] #6415: Missing title element on group_amins and group_mods avatar

buddypress-trac noreply at wordpress.org
Tue Aug 11 16:38:23 UTC 2015


#6415: Missing title element on group_amins and group_mods avatar
-----------------------------------------+-----------------------
 Reporter:  danbp                        |       Owner:  hnla
     Type:  enhancement                  |      Status:  assigned
 Priority:  low                          |   Milestone:  2.4
Component:  Appearance - Template Parts  |     Version:
 Severity:  minor                        |  Resolution:
 Keywords:  has-patch needs-testing      |
-----------------------------------------+-----------------------

Comment (by danbp):

 @hnla, not sure i understand you correctly. Are you asking me if i'm
 interrested to know more about nicename over displayname or it's you
 who're more interrested about this ?

 I suppose it's because $user_query use user_nicename. See:

 class-bp-groups-group.php:223

 {{{
 $admin_mods = $wpdb->get_results( apply_filters(
 'bp_group_admin_mods_user_join_filter', $wpdb->prepare( "SELECT u.ID as
 user_id, u.user_login, u.user_email, u.user_nicename, m.is_admin, m.is_mod
 FROM {$wpdb->users} u, {$bp->groups->table_name_members} m WHERE u.ID =
 m.user_id AND m.group_id = %d AND ( m.is_admin = 1 OR m.is_mod = 1 )",
 $this->id ) ) );
 }}}


 class-bp-groups-member-suggestions.php:160
 class-bp-groups-member.php:1022,1026

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


More information about the buddypress-trac mailing list