Text Changes: Simplify two strings in `wp_password_change_notification()`.
Add translator comments. Props ramiy. See #35736. Built from https://develop.svn.wordpress.org/trunk@37704 git-svn-id: http://core.svn.wordpress.org/trunk@37670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0cdf2d371b
commit
bbd663415c
|
@ -1671,11 +1671,13 @@ function wp_password_change_notification( $user ) {
|
|||
// send a copy of password change notification to the admin
|
||||
// but check to see if it's the admin whose password we're changing, and skip this
|
||||
if ( 0 !== strcasecmp( $user->user_email, get_option( 'admin_email' ) ) ) {
|
||||
$message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n";
|
||||
/* translators: %s: user name */
|
||||
$message = sprintf( __( 'Password changed for user: %s' ), $user->user_login ) . "\r\n";
|
||||
// The blogname option is escaped with esc_html on the way into the database in sanitize_option
|
||||
// we want to reverse this for the plain text arena of emails.
|
||||
$blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
|
||||
wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), $blogname), $message);
|
||||
/* translators: %s: site title */
|
||||
wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Password Changed' ), $blogname ), $message );
|
||||
}
|
||||
}
|
||||
endif;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-alpha-37703';
|
||||
$wp_version = '4.6-alpha-37704';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue