wp_authenticate_username_password not authenticating properly when pass username and password

Looking at the source code of wp_authenticate_username_password(), if you’re passing a valid WP_User object in the $user_obj parameter, it will simply be returned. Only if $user_obj is not a valid WP_User will the $username and $password parameters be checked. If you’re trying to ensure a user’s username and password are valid, I’d recommend using wp_authenticate() … Read more

WordPress user password reset not working

Check the error.log files in site root and wp-admin folder for any clues. It’s also possible a plugin is interfering with the mail() command – maybe one that changes the login? You could temp disable all plugins and then try the password reset process. If it works then, enable plugins one at a time to … Read more

Is there a way to resend confirmation emails?

All you would really need to do is trigger wp_new_user_notification for each user. Notice you can filter the email message & subject with the wp_new_user_notification_email filter. I made a very simple plugin ages ago for adding an action for this to the wordpress user list. Really only made if for a client, no idea why … Read more

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