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-actions.php

    r4902 r4961  
    1616
    1717    $thread_id = (int)bp_action_variable( 0 );
    18    
     18
    1919    if ( !$thread_id || !messages_is_valid_thread( $thread_id ) || ( !messages_check_thread_access( $thread_id ) && !is_super_admin() ) )
    2020        bp_core_redirect( bp_displayed_user_domain() . bp_get_messages_slug() );
     
    3737    // Mark message read
    3838    messages_mark_thread_read( $thread_id );
    39    
     39
    4040    // Decrease the unread count in the nav before it's rendered
    4141    $name = sprintf( __( 'Messages <span>%s</span>', 'buddypress' ), bp_get_total_unread_messages_count() );
    42    
     42
    4343    $bp->bp_nav[$bp->messages->slug]['name'] = $name;
    4444
     
    6767
    6868    $thread_id = bp_action_variable( 1 );
    69    
     69
    7070    if ( !$thread_id || !is_numeric( $thread_id ) || !messages_check_thread_access( $thread_id ) ) {
    7171        bp_core_redirect( bp_displayed_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() );
Note: See TracChangeset for help on using the changeset viewer.