Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/24/2011 07:15:10 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Change hook for bp_core_load_admin_bar from bp_init to bp_loaded. This needs to call show_admin_bar( false ) early enough that the WP admin bar hasn't already been created.

File:
1 edited

Legend:

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

    r3771 r3874  
    2929       
    3030// Setup admin bar
    31 add_action( 'bp_init', 'bp_core_load_admin_bar'      );
     31add_action( 'bp_loaded', 'bp_core_load_admin_bar'   );
    3232
    3333
Note: See TracChangeset for help on using the changeset viewer.