Changeset 37704
- Timestamp:
- 06/14/2016 10:08:02 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r37651 r37704 1672 1672 // but check to see if it's the admin whose password we're changing, and skip this 1673 1673 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"; 1675 1676 // The blogname option is escaped with esc_html on the way into the database in sanitize_option 1676 1677 // we want to reverse this for the plain text arena of emails. 1677 1678 $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 ); 1679 1681 } 1680 1682 }
Note: See TracChangeset
for help on using the changeset viewer.