diff --git a/ts.php b/ts.php index e17dcd7..2ca7ea6 100644 --- a/ts.php +++ b/ts.php @@ -116,6 +116,7 @@ class AcareOffice{ wp_insert_user($args); }else{//update user $args['ID'] = $user->ID; + unset($args['user_pass']); //we don't change password wp_update_user($args); } }