Change send_pass_change_email to send_password_change_email (better name).
see #32430 Built from https://develop.svn.wordpress.org/trunk@33486 git-svn-id: http://core.svn.wordpress.org/trunk@33453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c5719ba15a
commit
97280576c0
|
@ -2167,7 +2167,7 @@ function wp_update_user($userdata) {
|
|||
* @param array $userdata The updated user array.
|
||||
*
|
||||
*/
|
||||
$send_pass_change_email = apply_filters( 'send_pass_change_email', true, $user, $userdata );
|
||||
$send_password_change_email = apply_filters( 'send_password_change_email', true, $user, $userdata );
|
||||
}
|
||||
|
||||
if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) {
|
||||
|
@ -2196,7 +2196,7 @@ function wp_update_user($userdata) {
|
|||
|
||||
$blog_name = wp_specialchars_decode( get_option( 'blogname' ) );
|
||||
|
||||
if ( ! empty( $send_pass_change_email ) ) {
|
||||
if ( ! empty( $send_password_change_email ) ) {
|
||||
|
||||
/* translators: Do not translate USERNAME, ADMIN_EMAIL, EMAIL, SITENAME, SITEURL: those are placeholders. */
|
||||
$pass_change_text = __( 'Hi ###USERNAME###,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-beta4-33485';
|
||||
$wp_version = '4.3-beta4-33486';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue