| 1 | Index: bp-core.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- bp-core.php (revision 1595) |
|---|
| 4 | +++ bp-core.php (working copy) |
|---|
| 5 | @@ -301,6 +301,8 @@ |
|---|
| 6 | if ( !is_site_admin() ) |
|---|
| 7 | return false; |
|---|
| 8 | |
|---|
| 9 | + add_filter( 'theme_root', 'bp_core_filter_buddypress_theme_root' ); |
|---|
| 10 | + |
|---|
| 11 | /* Add the administration tab under the "Site Admin" tab for site administrators */ |
|---|
| 12 | add_menu_page( __("BuddyPress", 'buddypress'), __("BuddyPress", 'buddypress'), 2, 'bp-core.php', "bp_core_admin_settings" ); |
|---|
| 13 | add_submenu_page( 'bp-core.php', __("General Settings", 'buddypress'), __("General Settings", 'buddypress'), 1, 'bp-core.php', "bp_core_admin_settings" ); |
|---|