Changeset 4961 for trunk/bp-messages/bp-messages-functions.php
- Timestamp:
- 08/10/2011 06:32:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-functions.php
r4928 r4961 57 57 58 58 $recipient_ids = array(); 59 59 60 60 // Invalid recipients are added to an array, for future enhancements 61 61 $invalid_recipients = array(); … … 72 72 73 73 } else { 74 if ( bp_is_username_compatibility_mode() ) 75 $recipient_id = bp_core_get_userid( $recipient ); 74 if ( bp_is_username_compatibility_mode() ) 75 $recipient_id = bp_core_get_userid( $recipient ); 76 76 else 77 77 $recipient_id = bp_core_get_userid_from_nicename( $recipient ); 78 78 } 79 79 80 80 if ( !$recipient_id ) 81 81 $invalid_recipients[] = $recipient; … … 236 236 $link = bp_loggedin_user_domain() . bp_get_messages_slug() . '/inbox'; 237 237 $title = __( 'Inbox', 'buddypress' ); 238 238 239 239 if ( (int)$total_items > 1 ) { 240 240 $text = sprintf( __('You have %d new messages', 'buddypress' ), (int)$total_items );
Note: See TracChangeset
for help on using the changeset viewer.