Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/25/2012 11:47:12 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Move bp_core_load_admin_bar() action from 'bp_loaded' to 'bp_init' action, because it uses the current user's settings. Fixes issue with network wide activation of BuddyPress causing premature 404 issues with bbPress 2.x.

File:
1 edited

Legend:

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

    r6579 r6669  
    5454add_action( 'bp_loaded', 'bp_include',                  4  );
    5555add_action( 'bp_loaded', 'bp_setup_widgets',            6  );
    56 add_action( 'bp_loaded', 'bp_core_load_admin_bar',      10 );
    5756add_action( 'bp_loaded', 'bp_register_theme_packages',  12 );
    5857add_action( 'bp_loaded', 'bp_register_theme_directory', 14 );
     
    6564 *                                                 v---Load order
    6665 */
    67 add_action( 'bp_init', 'bp_core_set_uri_globals',  2 );
    68 add_action( 'bp_init', 'bp_setup_globals',         4 );
    69 add_action( 'bp_init', 'bp_setup_nav',             6 );
    70 add_action( 'bp_init', 'bp_setup_title',           8 );
     66add_action( 'bp_init', 'bp_core_set_uri_globals',  2  );
     67add_action( 'bp_init', 'bp_setup_globals',         4  );
     68add_action( 'bp_init', 'bp_setup_nav',             6  );
     69add_action( 'bp_init', 'bp_setup_title',           8  );
     70add_action( 'bp_init', 'bp_core_load_admin_bar',   10 );
    7171
    7272/**
Note: See TracChangeset for help on using the changeset viewer.