diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 8419fe08e1..65ee3d253d 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -1736,10 +1736,10 @@ function wpmu_new_site_admin_notification( $site_id, $user_id ) { $network_admin = get_user_by( 'email', $email ); if ( $network_admin ) { - // If the network admin email address corresponds to a user, switch to their locale + // If the network admin email address corresponds to a user, switch to their locale. $switched_locale = switch_to_locale( get_user_locale( $network_admin ) ); } else { - // Otherwise switch to the locale of the current site + // Otherwise switch to the locale of the current site. $switched_locale = switch_to_locale( get_locale() ); }