Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/18/2012 06:03:00 PM (12 years ago)
Author:
r-a-y
Message:

EOF:

  • Fall in line with WordPress 3.4 coding practices by removing all EOF closing PHP tags.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-loader.php

    r6278 r6342  
    114114            $bp->default_component = BP_DEFAULT_COMPONENT;
    115115        }
    116        
     116
    117117        if ( bp_displayed_user_id() ) {
    118118            $bp->canonical_stack['base_url'] = bp_displayed_user_domain();
    119        
     119
    120120            if ( bp_current_component() ) {
    121121                $bp->canonical_stack['component'] = bp_current_component();
    122122            }
    123            
     123
    124124            if ( bp_current_action() ) {
    125125                $bp->canonical_stack['action'] = bp_current_action();
    126126            }
    127            
     127
    128128            if ( !empty( $bp->action_variables ) ) {
    129129                $bp->canonical_stack['action_variables'] = bp_action_variables();
     
    132132            if ( !bp_current_component() ) {
    133133                $bp->current_component = $bp->default_component;
    134             } else if ( bp_is_current_component( $bp->default_component ) && !bp_current_action() ) {           
     134            } else if ( bp_is_current_component( $bp->default_component ) && !bp_current_action() ) {
    135135                // The canonical URL will not contain the default component
    136136                unset( $bp->canonical_stack['component'] );
     
    210210}
    211211add_action( 'bp_setup_components', 'bp_setup_members', 1 );
    212 
    213 ?>
Note: See TracChangeset for help on using the changeset viewer.