Ticket #4417: 4417.01.patch
File 4417.01.patch, 931 bytes (added by , 12 years ago) |
---|
-
bp-groups/bp-groups-loader.php
class BP_Groups_Component extends BP_Component { 502 502 $title = __( 'Groups', 'buddypress' ); 503 503 $pending = __( 'No Pending Invites', 'buddypress' ); 504 504 505 if ( !empty( $count ->total) ) {506 $title = sprintf( __( 'Groups <span class="count">%s</span>', 'buddypress' ), $count ->total);507 $pending = sprintf( __( 'Pending Invites <span class="count">%s</span>', 'buddypress' ), $count ->total);505 if ( !empty( $count['total'] ) ) { 506 $title = sprintf( __( 'Groups <span class="count">%s</span>', 'buddypress' ), $count['total'] ); 507 $pending = sprintf( __( 'Pending Invites <span class="count">%s</span>', 'buddypress' ), $count['total'] ); 508 508 } 509 509 510 510 // Add the "My Account" sub menus