diff --git a/wp-includes/user-functions.php b/wp-includes/user-functions.php index db87cd49a8..a79d1e8448 100644 --- a/wp-includes/user-functions.php +++ b/wp-includes/user-functions.php @@ -1602,7 +1602,7 @@ function wp_update_user($userdata) { // Escape data pulled from DB. $user = add_magic_quotes( $user ); - if ( ! empty($userdata['user_pass']) ) { + if ( ! empty( $userdata['user_pass'] ) && $userdata['user_pass'] !== $user_obj->user_pass ) { // If password is changing, hash it now $plaintext_pass = $userdata['user_pass']; $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7837698819..d8a3d16ad8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35115'; +$wp_version = '4.4-alpha-35116'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.