The fix? Use instead $userdata = (array)wp_get_current_user(); $userdata['user_pass'] = $new_password; wp_update_user($userdata);. This will ...
確定! 回上一頁