Changeset 6086 for branches/1.5/bp-core/bp-core-adminbar.php
- Timestamp:
- 06/13/2012 08:46:17 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-core/bp-core-adminbar.php
r5958 r6086 21 21 */ 22 22 function bp_core_admin_bar_version_check() { 23 if ( '3.2'== bp_get_major_wp_version() ) {23 if ( 3.2 == bp_get_major_wp_version() ) { 24 24 add_action( 'bp_setup_admin_bar', 'bp_admin_bar_root_site', 3 ); 25 25 add_action( 'bp_setup_admin_bar', 'bp_admin_bar_comments_menu', 3 ); … … 41 41 function bp_admin_bar_remove_wp_menus() { 42 42 43 if ( '3.2'== bp_get_major_wp_version() ) {43 if ( 3.2 == bp_get_major_wp_version() ) { 44 44 remove_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 10 ); 45 45 remove_action( 'admin_bar_menu', 'wp_admin_bar_my_sites_menu', 20 );
Note: See TracChangeset
for help on using the changeset viewer.