Skip to:
Content

BuddyPress.org

Ticket #3800: 3800.01.patch

File 3800.01.patch, 596 bytes (added by r-a-y, 13 years ago)
  • bp-messages/bp-messages-template.php

     
    607607        $recipients = explode( ' ', bp_get_message_get_recipient_usernames() );
    608608
    609609        foreach ( $recipients as $recipient ) {
    610                 if ( $user_id = bp_core_get_userid( $recipient ) ) : ?>
     610                $user_id = bp_is_username_compatibility_mode() ? bp_core_get_userid( $recipient ) : bp_core_get_userid_from_nicename( $recipient );
     611
     612                if ( $user_id ) : ?>
    611613
    612614                        <li id="un-<?php echo esc_attr( $recipient ); ?>" class="friend-tab">
    613615                                <span><?php