diff --git a/wp-includes/user.php b/wp-includes/user.php index 3cf37bdf05..abdcb3a2b3 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -1682,6 +1682,7 @@ function wp_update_user($userdata) { } wp_cache_delete( $user['user_email'], 'useremail' ); + wp_cache_delete( $user['user_nicename'], 'userslugs' ); // Merge old and new fields with new fields overwriting old ones. $userdata = array_merge( $user, $userdata ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 82e3c29c89..6cba20f699 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36481'; +$wp_version = '4.5-alpha-36482'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.