• Resolved izeta

    (@izeta)


    Hi, great plugin!

    I have recently updated Unconfirmed and Buddypress and the function to resend activation email from the wp-admin panel seems to be broken. I dove into the code and it seems that the issue can be fixed by casting the $user->ID to an int.

    Line 526 of unconfirmed.php
    bp_core_signup_send_validation_email( (int)$user->ID, $user->user_email, $key );

    It seems that Buddypress update changed the way that BP_email recipients are created. If you pass it as a string, it’s treated as an address. If you pass it as an int, it’s treated as a wordpress ID which is what we want.

    Hope you can integrate this into your next fix.

    https://www.ads-software.com/plugins/unconfirmed/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Unconfirmed v1.3 with Buddypress v2.5.2 resend activation email problem’ is closed to new replies.