Skip to:
Content

BuddyPress.org

Ticket #3136: bp-messages-functions.php-recipients-array.diff

File bp-messages-functions.php-recipients-array.diff, 549 bytes (added by Backie, 14 years ago)
  • bp-messages/bp-messages-functions.php

     
    5252
    5353                if ( empty( $message->subject ) )
    5454                        $message->subject = __( 'No Subject', 'buddypress' );
    55 
     55                       
     56                $recipient_ids = array();
    5657                // Loop the recipients and convert all usernames to user_ids where needed
    5758                foreach( (array) $recipients as $recipient ) {
    5859                        if ( is_numeric( trim( $recipient ) )