[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:32:50 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        |   Keywords:  needs-patch
--------------------------+-------------------------
 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/

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8138>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list