Changeset 8117 for trunk/bp-core/admin/bp-core-functions.php
- Timestamp:
- 03/12/2014 09:26:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r7827 r8117 75 75 */ 76 76 function bp_core_modify_admin_menu_highlight() { 77 global $p lugin_page, $submenu_file;77 global $pagenow, $plugin_page, $submenu_file; 78 78 79 79 // This tweaks the Settings subnav menu to show only one BuddyPress menu item 80 80 if ( ! in_array( $plugin_page, array( 'bp-activity', 'bp-general-settings', ) ) ) 81 81 $submenu_file = 'bp-components'; 82 83 // Network Admin > Tools 84 if ( in_array( $plugin_page, array( 'bp-tools', 'available-tools' ) ) ) { 85 $submenu_file = $plugin_page; 86 } 82 87 } 83 88 … … 389 394 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-settings' ), 'admin.php' ) ), 390 395 'name' => __( 'Settings', 'buddypress' ) 391 ) 396 ), 392 397 ); 393 398
Note: See TracChangeset
for help on using the changeset viewer.