Title: wp_authenticate_user
Last modified: December 20, 2016

---

# wp_authenticate_user

 *  Resolved [Jonathan Bardo](https://wordpress.org/support/users/jonathanbardo/)
 * (@jonathanbardo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wp_authenticate_user-2/)
 * Hi,
 * Your plugin is actually using wp_authenticate_user incorrectly. This filter should
   pass 2 arguments. If you must use do_action with wp_authenticate_user please 
   make sure you pass a second empty strings to remove any potential notices by 
   other plugins.
 * do_action(‘wp_authenticate_user’, $user, ”);
 * Thank you,
    Jonathan
    -  This topic was modified 9 years, 5 months ago by [Jonathan Bardo](https://wordpress.org/support/users/jonathanbardo/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Minor](https://wordpress.org/support/users/minor/)
 * (@minor)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wp_authenticate_user-2/#post-8574456)
 * Hi [@jonathanbardo](https://wordpress.org/support/users/jonathanbardo/),
 * I’ve removed do_action in the current version 1.8. Which version are you using?
 * From my point of view it was useless, am I right? Could you check it again, please?
   I’m still learning… 🙂
 * Thank you and have a nice day!
 *  Thread Starter [Jonathan Bardo](https://wordpress.org/support/users/jonathanbardo/)
 * (@jonathanbardo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wp_authenticate_user-2/#post-8576237)
 * Hey [@minor](https://wordpress.org/support/users/minor/),
 * Thanks for checking this. I was reporting based on a customer who was experiencing
   problem and actually didn’t check if the problem was still there in the current
   version (shame on me).
 * Thanks for fixing that 🙂
 * Happy holidays,
    Jonathan
    -  This reply was modified 9 years, 5 months ago by [Jonathan Bardo](https://wordpress.org/support/users/jonathanbardo/).
 *  Plugin Author [Minor](https://wordpress.org/support/users/minor/)
 * (@minor)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wp_authenticate_user-2/#post-8578018)
 * No problem, happy holidays! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wp_authenticate_user’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-google-recaptcha_0073aa.svg)
 * [Simple Google reCAPTCHA](https://wordpress.org/plugins/simple-google-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-google-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-google-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-google-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-google-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-google-recaptcha/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Minor](https://wordpress.org/support/users/minor/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/wp_authenticate_user-2/#post-8578018)
 * Status: resolved