From 2a25f9ce2206cf69a3de7c8c3fa189343e93d213 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 29 Jul 2015 14:51:52 +0000 Subject: [PATCH] Change send_pass_change_email to send_password_change_email (better name). see #32430 git-svn-id: https://develop.svn.wordpress.org/trunk@33486 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 27f4557716..54b09ff9f9 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -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###,