i18n: Fix the usage of sprintf replacements in the Multisite include files. See #22260.
git-svn-id: https://develop.svn.wordpress.org/trunk@22270 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d69a863ac2
commit
44682216a8
@ -1015,11 +1015,11 @@ function newblog_notify_siteadmin( $blog_id, $deprecated = '' ) {
|
||||
$siteurl = site_url();
|
||||
restore_current_blog();
|
||||
|
||||
$msg = sprintf( __( 'New Site: %1s
|
||||
URL: %2s
|
||||
Remote IP: %3s
|
||||
$msg = sprintf( __( 'New Site: %1$s
|
||||
URL: %2$s
|
||||
Remote IP: %3$s
|
||||
|
||||
Disable these notifications: %4s' ), $blogname, $siteurl, $_SERVER['REMOTE_ADDR'], $options_site_url);
|
||||
Disable these notifications: %4$s' ), $blogname, $siteurl, $_SERVER['REMOTE_ADDR'], $options_site_url);
|
||||
$msg = apply_filters( 'newblog_notify_siteadmin', $msg );
|
||||
|
||||
wp_mail( $email, sprintf( __( 'New Site Registration: %s' ), $siteurl ), $msg );
|
||||
@ -1050,10 +1050,10 @@ function newuser_notify_siteadmin( $user_id ) {
|
||||
$user = get_userdata( $user_id );
|
||||
|
||||
$options_site_url = esc_url(network_admin_url('settings.php'));
|
||||
$msg = sprintf(__('New User: %1s
|
||||
Remote IP: %2s
|
||||
$msg = sprintf(__('New User: %1$s
|
||||
Remote IP: %2$s
|
||||
|
||||
Disable these notifications: %3s'), $user->user_login, $_SERVER['REMOTE_ADDR'], $options_site_url);
|
||||
Disable these notifications: %3$s'), $user->user_login, $_SERVER['REMOTE_ADDR'], $options_site_url);
|
||||
|
||||
$msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user );
|
||||
wp_mail( $email, sprintf(__('New User Registration: %s'), $user->user_login), $msg );
|
||||
|
Loading…
Reference in New Issue
Block a user