diff --git a/src/bp-core/bp-core-admin.php b/src/bp-core/bp-core-admin.php
index 3a7a76d..bc58a27 100644
a
|
b
|
class BP_Admin { |
299 | 299 | 'bp_core_admin_tools' |
300 | 300 | ); |
301 | 301 | |
302 | | $hooks[] = add_theme_page( |
303 | | _x( 'Emails', 'screen heading', 'buddypress' ), |
304 | | _x( 'Emails', 'screen heading', 'buddypress' ), |
305 | | $this->capability, |
306 | | 'bp-emails-customizer-redirect', |
307 | | 'bp_email_redirect_to_customizer' |
308 | | ); |
| 302 | if ( ( bp_is_root_blog() || bp_is_multiblog_mode() ) && ! is_network_admin() ) { |
| 303 | $hooks[] = add_theme_page( |
| 304 | _x( 'Emails', 'screen heading', 'buddypress' ), |
| 305 | _x( 'Emails', 'screen heading', 'buddypress' ), |
| 306 | $this->capability, |
| 307 | 'bp-emails-customizer-redirect', |
| 308 | 'bp_email_redirect_to_customizer' |
| 309 | ); |
| 310 | } |
309 | 311 | |
310 | 312 | foreach( $hooks as $hook ) { |
311 | 313 | add_action( "admin_head-$hook", 'bp_core_modify_admin_menu_highlight' ); |