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

buddypress-trac noreply at wordpress.org
Tue Aug 11 13:32:44 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):

 Thxs @hnla, your patch is OK.

 That said, this is shorter and works also:

 {{{
 <a href="<?php echo bp_core_get_user_domain( $mod->user_id,
 $mod->user_nicename, $mod->user_login ) ?>"><?php echo
 bp_core_fetch_avatar( array( 'item_id' => $mod->user_id, 'email' =>
 $mod->user_email, 'title' => sprintf( ( '%s' ),
 bp_core_get_user_displayname( $mod->user_id ) ) ) ) ?></a>
 }}}

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


More information about the buddypress-trac mailing list