Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/27/2010 10:57:31 PM (16 years ago)
Author:
djpaul
Message:

Removes trailing whitespace. Fixes #2965, props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-catchuri.php

    r3583 r3592  
    6666        // Running off blog other than root
    6767        if ( defined( 'BP_ENABLE_MULTIBLOG' ) || 1 != BP_ROOT_BLOG ) {
    68  
     68
    6969                // Any subdirectory names must be removed from $bp_uri.
    7070                // This includes two cases: (1) when WP is installed in a subdirectory,
    … …  
    7474                        foreach( $chunks as $key => $chunk ) {
    7575                                $bkey = array_search( $chunk, $bp_uri );
    76  
     76
    7777                                if ( $bkey !== false )
    7878                                        unset( $bp_uri[$bkey] );
    79  
     79
    8080                                $bp_uri = array_values( $bp_uri );
    8181                        }
    … …  
    141141                unset( $uri_chunks );
    142142        }
    143        
     143
    144144        // Search doesn't have an associated page, so we check for it separately
    145145        if ( !empty( $bp_uri[0] ) && BP_SEARCH_SLUG == $bp_uri[0] )
    146146                $matches[] = 1;
    147                
     147
    148148        // This is not a BuddyPress page, so just return.
    149149        if ( !isset( $matches ) )
Note: See TracChangeset for help on using the changeset viewer.