Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/10/2011 06:32:02 AM (14 years ago)
Author:
djpaul
Message:

Tidy up whitespace. Fixes #3466, props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-functions.php

    r4928 r4961  
    5757
    5858        $recipient_ids      = array();
    59        
     59
    6060        // Invalid recipients are added to an array, for future enhancements
    6161        $invalid_recipients = array();
     
    7272
    7373            } 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 );
    7676                else
    7777                    $recipient_id = bp_core_get_userid_from_nicename( $recipient );
    7878            }
    79            
     79
    8080            if ( !$recipient_id )
    8181                $invalid_recipients[] = $recipient;
     
    236236        $link  = bp_loggedin_user_domain() . bp_get_messages_slug() . '/inbox';
    237237        $title = __( 'Inbox', 'buddypress' );
    238        
     238
    239239        if ( (int)$total_items > 1 ) {
    240240            $text = sprintf( __('You have %d new messages', 'buddypress' ), (int)$total_items );
Note: See TracChangeset for help on using the changeset viewer.