[buddypress-trac] [BuddyPress Trac] #8138: Confirmation for email change request is sent to the current email
buddypress-trac
noreply at wordpress.org
Tue Oct 1 19:35:04 UTC 2019
#8138: Confirmation for email change request is sent to the current email
--------------------------+---------------------
Reporter: imath | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0.0
Component: Settings | Version: 2.5.0
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+---------------------
Description changed by imath:
Old description:
> Since [10479], we are using the BP Email API for our notifications /
> confirmations. To send an email we use the `bp_send_email( $email_type,
> $email_or_user_id, $tokens )`. When using a user ID as the second
> parameter, the API will look the user's current email.
>
> When changing the email from the front end, we shouldn't use a user ID
> like it's the case since [10479], instead we should use the new email.
>
> This issue comes form this support request:
> https://buddypress.org/support/topic/activation-email-sent-on-old-
> adresse-not-the-new-one/
New description:
Since [10479], we are using the BP Email API for our notifications /
confirmations. To send an email we use the `bp_send_email( $email_type,
$email_or_user_id, $tokens )` function. When using a user ID as the second
parameter, the API will look the user's current email.
When changing the email from the front end, we shouldn't use a user ID
like it's the case since [10479], instead we should use the new email.
This issue comes form this support request:
https://buddypress.org/support/topic/activation-email-sent-on-old-adresse-
not-the-new-one/
--
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8138#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list