Docs: Correct comments in `wpmu_new_site_admin_notification()` per the documentation standards.

See #42134.
Built from https://develop.svn.wordpress.org/trunk@49130


git-svn-id: http://core.svn.wordpress.org/trunk@48892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-10-12 15:47:11 +00:00
parent 1c7ebdab9f
commit 69217eb85b
2 changed files with 3 additions and 3 deletions

View File

@ -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() );
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.6-alpha-49129';
$wp_version = '5.6-alpha-49130';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.