Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/24/2008 05:31:27 AM (16 years ago)
Author:
apeatling
Message:

Introduced new functions for handling navigation items. bp_core_add_nav_item() bp_core_add_nav_default() bp_core_add_subnav_item() can now be used.

File:
1 edited

Legend:

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

    r309 r359  
    7575    /* Reset the keys by merging with an empty array */
    7676    $action_variables = array_merge( array(), $action_variables );
    77 
    7877}
    79 add_action( 'wp', 'bp_core_set_uri_globals', 0 );
     78add_action( 'wp', 'bp_core_set_uri_globals', 1 );
    8079
    8180/**
     
    111110    $pages = $bp_path;
    112111   
    113     if ( $wpdb->blogid == get_usermeta( $bp['current_userid'], 'home_base' ) ) {
     112    if ( $wpdb->blogid == $bp['current_homebase_id'] ) {
    114113        if ( !file_exists( TEMPLATEPATH . "/header.php" ) || !file_exists( TEMPLATEPATH . "/footer.php" ) )
    115114            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.