Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/27/2009 05:43:08 PM (17 years ago)
Author:
apeatling
Message:

Signup avatar upload fixes and DB fixes.

File:
1 edited

Legend:

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

    r1677 r1714  
    101101        $bp_uri = array_merge( array(), $bp_uri );
    102102        $bp_unfiltered_uri = $bp_uri;
    103        
     103
    104104        /* Catch a member page and set the current member ID */
    105105        if ( $bp_uri[0] == BP_MEMBERS_SLUG || in_array( 'wp-load.php', $bp_uri ) ) {
    106106                $is_member_page = true;
    107107                $is_root_component = true;
    108                
     108
    109109                // We are within a member page, set up user id globals
    110110                $displayed_user_id = bp_core_get_displayed_userid( $bp_uri[1] );
     
    175175
    176176        $bp_path = $pages;
    177 
     177       
    178178        if ( !bp_is_blog_page() ) {
    179179                remove_action( 'template_redirect', 'redirect_canonical' );
     
    245245        }
    246246}
    247 add_action( 'wp', 'bp_core_catch_no_access', 10 );
     247add_action( 'wp', 'bp_core_catch_no_access' );
    248248
    249249/**
Note: See TracChangeset for help on using the changeset viewer.