Support » Plugin: Simple Google reCAPTCHA » wp_authenticate_user

  • Resolved Jonathan Bardo

    (@jonathanbardo)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Minor

    (@minor)

    Hi @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

    (@jonathanbardo)

    Hey @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

    Plugin Author Minor

    (@minor)

    No problem, happy holidays! šŸ™‚

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_authenticate_user’ is closed to new replies.