Changeset 516 for trunk/bp-core.php
- Timestamp:
- 11/08/2008 11:59:41 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r511 r516 47 47 /* Functions to handle and display the member and blog directory pages */ 48 48 require_once( 'bp-core/directories/bp-core-directory-members.php' ); 49 50 /* Functions to handle and display BuddyPress administration menus */ 51 require_once( 'bp-core/bp-core-admin.php' ); 49 52 50 53 … … 203 206 } 204 207 add_action( 'admin_menu', 'bp_core_check_installed' ); 208 209 210 function bp_core_add_admin_menu() { 211 global $wpdb, $bp; 212 213 if ( is_site_admin() ) { 214 /* Add the administration tab under the "Site Admin" tab for site administrators */ 215 add_submenu_page( 'wpmu-admin.php', __("BuddyPress", 'buddypress'), __("BuddyPress", 'buddypress'), 1, "bp_core_admin_settings", "bp_core_admin_settings" ); 216 } 217 } 218 add_action( 'admin_menu', 'bp_core_add_admin_menu' ); 219 205 220 206 221 /**
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)