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:
parent
1c7ebdab9f
commit
69217eb85b
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue