Make WordPress Core


Ignore:
Timestamp:
10/23/2012 11:27:20 AM (11 years ago)
Author:
westi
Message:

i18n: Fix the usage of sprintf replacements in the Multisite include files. See #22260.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r22124 r22270  
    10161016    restore_current_blog();
    10171017
    1018     $msg = sprintf( __( 'New Site: %1s
    1019 URL: %2s
    1020 Remote IP: %3s
    1021 
    1022 Disable these notifications: %4s' ), $blogname, $siteurl, $_SERVER['REMOTE_ADDR'], $options_site_url);
     1018    $msg = sprintf( __( 'New Site: %1$s
     1019URL: %2$s
     1020Remote IP: %3$s
     1021
     1022Disable these notifications: %4$s' ), $blogname, $siteurl, $_SERVER['REMOTE_ADDR'], $options_site_url);
    10231023    $msg = apply_filters( 'newblog_notify_siteadmin', $msg );
    10241024
     
    10511051
    10521052    $options_site_url = esc_url(network_admin_url('settings.php'));
    1053     $msg = sprintf(__('New User: %1s
    1054 Remote IP: %2s
    1055 
    1056 Disable these notifications: %3s'), $user->user_login, $_SERVER['REMOTE_ADDR'], $options_site_url);
     1053    $msg = sprintf(__('New User: %1$s
     1054Remote IP: %2$s
     1055
     1056Disable these notifications: %3$s'), $user->user_login, $_SERVER['REMOTE_ADDR'], $options_site_url);
    10571057
    10581058    $msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user );
Note: See TracChangeset for help on using the changeset viewer.