Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/29/2020 04:09:52 PM (4 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/bp-settings-template.php

    r12594 r12603  
    9999                /* translators: 1: email address. 2: cancel email change url. */
    100100                __( 'Check your email (%1$s) for the verification link, or <a href="%2$s">cancel the pending change</a>.', 'buddypress' ),
    101                 '<code>' . esc_html( bp_get_displayed_user_email() ) . '</code>',
     101                '<code>' . esc_html( $pending_email['newemail'] ) . '</code>',
    102102                esc_url( wp_nonce_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1', 'bp_dismiss_email_change' ) )
    103103            );
Note: See TracChangeset for help on using the changeset viewer.