WordPress.org

Make WordPress Core

Changeset 37704


Ignore:
Timestamp:
06/14/2016 10:08:02 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Simplify two strings in wp_password_change_notification().

Add translator comments.

Props ramiy.
See #35736.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r37651 r37704  
    16721672    // but check to see if it's the admin whose password we're changing, and skip this
    16731673    if ( 0 !== strcasecmp( $user->user_email, get_option( 'admin_email' ) ) ) {
    1674         $message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n";
     1674        /* translators: %s: user name */
     1675        $message = sprintf( __( 'Password changed for user: %s' ), $user->user_login ) . "\r\n";
    16751676        // The blogname option is escaped with esc_html on the way into the database in sanitize_option
    16761677        // we want to reverse this for the plain text arena of emails.
    16771678        $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
    1678         wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), $blogname), $message);
     1679        /* translators: %s: site title */
     1680        wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Password Changed' ), $blogname ), $message );
    16791681    }
    16801682}
Note: See TracChangeset for help on using the changeset viewer.