Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/29/2020 04:09:52 PM (6 years ago)
Author:
imath
Message:

Send the "email change" confirmation message to the new email

To be consistent with how the email change confirmation message is handled by WordPress, we need to send it to the new email and not to the current email.

Props laudag, espellcaste

Fixes #8138

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-settings/actions/general.php

    r11926 r12603  
    111111                                                ),
    112112                                        );
    113                                         bp_send_email( 'settings-verify-email-change', bp_displayed_user_id(), $args );
     113                                        bp_send_email( 'settings-verify-email-change', $user_email, $args );
    114114
    115115                                        // We mark that the change has taken place so as to ensure a
Note: See TracChangeset for help on using the changeset viewer.