mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
i18n: Fix the usage of sprintf replacements in the Multisite include files. See #22260.
git-svn-id: http://core.svn.wordpress.org/trunk@22270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3cc79b6461
commit
d30f0445e8
@ -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…
x
Reference in New Issue
Block a user