diff --git src/bp-core/bp-core-filters.php src/bp-core/bp-core-filters.php
index d02e324..f01189d 100644
|
|
|
add_filter( 'bp_login_redirect', 'bp_core_login_redirect', 10, 3 ); |
| 250 | 250 | function bp_core_filter_user_welcome_email( $welcome_email ) { |
| 251 | 251 | |
| 252 | 252 | // Don't touch the email when a user is registered by the site admin |
| 253 | | if ( is_admin() ) |
| | 253 | if ( is_admin() || is_network_admin() ) { |
| 254 | 254 | return $welcome_email; |
| | 255 | } |
| 255 | 256 | |
| 256 | 257 | // Don't touch the email if we don't have a custom registration template |
| 257 | 258 | if ( ! bp_has_custom_signup_page() ) |