Changeset 359 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 09/24/2008 05:31:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r309 r359 75 75 /* Reset the keys by merging with an empty array */ 76 76 $action_variables = array_merge( array(), $action_variables ); 77 78 77 } 79 add_action( 'wp', 'bp_core_set_uri_globals', 0);78 add_action( 'wp', 'bp_core_set_uri_globals', 1 ); 80 79 81 80 /** … … 111 110 $pages = $bp_path; 112 111 113 if ( $wpdb->blogid == get_usermeta( $bp['current_userid'], 'home_base' )) {112 if ( $wpdb->blogid == $bp['current_homebase_id'] ) { 114 113 if ( !file_exists( TEMPLATEPATH . "/header.php" ) || !file_exists( TEMPLATEPATH . "/footer.php" ) ) 115 114 wp_die( 'Please make sure your BuddyPress enabled theme includes a header.php and footer.php file.');
Note: See TracChangeset
for help on using the changeset viewer.