Changeset 1714 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 08/27/2009 05:43:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r1677 r1714 101 101 $bp_uri = array_merge( array(), $bp_uri ); 102 102 $bp_unfiltered_uri = $bp_uri; 103 103 104 104 /* Catch a member page and set the current member ID */ 105 105 if ( $bp_uri[0] == BP_MEMBERS_SLUG || in_array( 'wp-load.php', $bp_uri ) ) { 106 106 $is_member_page = true; 107 107 $is_root_component = true; 108 108 109 109 // We are within a member page, set up user id globals 110 110 $displayed_user_id = bp_core_get_displayed_userid( $bp_uri[1] ); … … 175 175 176 176 $bp_path = $pages; 177 177 178 178 if ( !bp_is_blog_page() ) { 179 179 remove_action( 'template_redirect', 'redirect_canonical' ); … … 245 245 } 246 246 } 247 add_action( 'wp', 'bp_core_catch_no_access' , 10);247 add_action( 'wp', 'bp_core_catch_no_access' ); 248 248 249 249 /**
Note: See TracChangeset
for help on using the changeset viewer.