Multisite: Change IP references in new site or user notifications to IP address for clarity.

Props gk.loveweb, bradparbs.
See #40382.
Built from https://develop.svn.wordpress.org/trunk@41705


git-svn-id: http://core.svn.wordpress.org/trunk@41539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-10-03 13:13:47 +00:00
parent 806b2a5af1
commit 190929cb6c
2 changed files with 3 additions and 3 deletions

View File

@ -1278,7 +1278,7 @@ function newblog_notify_siteadmin( $blog_id, $deprecated = '' ) {
/* translators: New site notification email. 1: Site URL, 2: User IP address, 3: Settings screen URL */
$msg = sprintf( __( 'New Site: %1$s
URL: %2$s
Remote IP: %3$s
Remote IP address: %3$s
Disable these notifications: %4$s' ), $blogname, $siteurl, wp_unslash( $_SERVER['REMOTE_ADDR'] ), $options_site_url);
/**
@ -1320,7 +1320,7 @@ function newuser_notify_siteadmin( $user_id ) {
$options_site_url = esc_url(network_admin_url('settings.php'));
/* translators: New user notification email. 1: User login, 2: User IP address, 3: Settings screen URL */
$msg = sprintf(__('New User: %1$s
Remote IP: %2$s
Remote IP address: %2$s
Disable these notifications: %3$s'), $user->user_login, wp_unslash( $_SERVER['REMOTE_ADDR'] ), $options_site_url);

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41704';
$wp_version = '4.9-alpha-41705';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.