Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/24/2011 05:26:18 AM (10 years ago)
Author:
johnjamesjacoby
Message:

This first pass at WP Admin Bar integration unhooks all WP core menus and replaces them with a full set of action based routines to handle the creation of admin bar menus at a BP component class level. This allows future external components to manipulate core menus or add their own with relative ease. Currently works off the BP_USE_WP_ADMIN_BAR constant, and should eventually phase out the BuddyBar in the long-term.

File:
1 edited

Legend:

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

    r4052 r4151  
    116116            $bp->pages = bp_core_get_page_names();
    117117
     118        /** Admin Bar *********************************************************/
     119
     120        // Set the 'My Account' global to prevent debug notices
     121        $bp->my_account_menu_id = false;
     122
    118123        /** Component and Action **********************************************/
    119124
Note: See TracChangeset for help on using the changeset viewer.