Changeset 8057 for trunk/bp-groups/bp-groups-loader.php
- Timestamp:
- 03/06/2014 02:32:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-loader.php
r8056 r8057 537 537 538 538 // Pending group invites 539 $count = groups_get_invite s_for_user( bp_loggedin_user_id());539 $count = groups_get_invite_count_for_user(); 540 540 $title = __( 'Groups', 'buddypress' ); 541 541 $pending = __( 'No Pending Invites', 'buddypress' ); 542 542 543 543 if ( !empty( $count['total'] ) ) { 544 $title = sprintf( __( 'Groups <span class="count">%s</span>', 'buddypress' ), $count ['total']);545 $pending = sprintf( __( 'Pending Invites <span class="count">%s</span>', 'buddypress' ), $count ['total']);544 $title = sprintf( __( 'Groups <span class="count">%s</span>', 'buddypress' ), $count ); 545 $pending = sprintf( __( 'Pending Invites <span class="count">%s</span>', 'buddypress' ), $count ); 546 546 } 547 547
Note: See TracChangeset
for help on using the changeset viewer.