Changeset 5346 for trunk/bp-core/bp-core-adminbar.php
- Timestamp:
- 11/23/2011 09:12:18 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-adminbar.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-adminbar.php
r5334 r5346 20 20 * @return If doing ajax 21 21 */ 22 function bp_admin_bar_my_account_ secondary() {22 function bp_admin_bar_my_account_root() { 23 23 global $wp_admin_bar; 24 24 … … 32 32 // Add secondary parent item for all BuddyPress components 33 33 $wp_admin_bar->add_menu( array( 34 'parent' => 'my-account', 35 'id' => 'my-account-buddypress', 36 'title' => ' ', 37 'meta' => array( 38 'class' => 'secondary', 34 'parent' => 'my-account', 35 'id' => 'my-account-buddypress', 36 'title' => __( 'My Account' ), 37 'group' => true, 38 'meta' => array( 39 'class' => 'ab-sub-secondary' 39 40 ) 40 41 ) ); 41 42 } 42 43 } 43 add_action( 'admin_bar_menu', 'bp_admin_bar_my_account_ secondary', 9999);44 add_action( 'admin_bar_menu', 'bp_admin_bar_my_account_root', 100 ); 44 45 45 46 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)