Ticket #3136: bp-messages-functions.php-recipients-array.diff
File bp-messages-functions.php-recipients-array.diff, 549 bytes (added by , 14 years ago) |
---|
-
bp-messages/bp-messages-functions.php
52 52 53 53 if ( empty( $message->subject ) ) 54 54 $message->subject = __( 'No Subject', 'buddypress' ); 55 55 56 $recipient_ids = array(); 56 57 // Loop the recipients and convert all usernames to user_ids where needed 57 58 foreach( (array) $recipients as $recipient ) { 58 59 if ( is_numeric( trim( $recipient ) )