Ticket #4335: 4335.03.patch
File 4335.03.patch, 882 bytes (added by , 12 years ago) |
---|
-
bp-activity/bp-activity-template.php
function bp_activity_secondary_avatar( $args = '' ) { 1062 1062 $item_id = $activities_template->activity->item_id; 1063 1063 1064 1064 if ( empty( $alt ) ) { 1065 $group = groups_get_group( $item_id ); 1066 if ( isset( $group->name ) ) { 1067 $alt = sprintf( __( 'Group logo of %s', 'buddypress' ), $group->name ); 1068 } else { 1069 $alt = __( 'Group logo', 'buddypress' ); 1065 $alt = __( 'Group logo', 'buddypress' ); 1066 1067 if ( bp_is_active( 'groups' ) ) { 1068 $group = groups_get_group( $item_id ); 1069 if ( isset( $group->name ) ) 1070 $alt = sprintf( __( 'Group logo of %s', 'buddypress' ), $group->name ); 1070 1071 } 1071 1072 } 1072 1073