Changeset 5346
- Timestamp:
- 11/23/2011 09:12:18 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
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 /** -
trunk/bp-members/bp-members-adminbar.php
r5307 r5346 190 190 // Add the top-level Notifications button 191 191 $wp_admin_bar->add_menu( array( 192 'id' => 'bp-notifications', 193 'title' => $menu_title, 194 'href' => bp_loggedin_user_domain(), 195 'meta' => array( 196 'class' => 'opposite', 197 ) 192 'parent' => 'top-secondary', 193 'id' => 'bp-notifications', 194 'title' => $menu_title, 195 'href' => bp_loggedin_user_domain(), 198 196 ) ); 199 197
Note: See TracChangeset
for help on using the changeset viewer.