From 1ca1817cedf83bc70d88a9bc9447878b09641cee Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 12 Oct 2020 15:45:27 +0000 Subject: [PATCH] Docs: Correct comments in `wpmu_new_site_admin_notification()` per the documentation standards. See #42134. git-svn-id: https://develop.svn.wordpress.org/trunk@49130 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ); }