What WordPress file is saving new users to database

user.php

To modify usernames before a user is added, use the filter pre_user_login. Hope that helps.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)