Skip to:
Content

BuddyPress.org

Changeset 10716


Ignore:
Timestamp:
04/27/2016 07:13:51 AM (9 years ago)
Author:
djpaul
Message:

Emails: when someone changes their email, tell users we've sent confirmation to their current (old) address, not the new one.

Clarifies the intent of the original message in this UI notification.

Fixes #7033

Props @oksankaa

File:
1 edited

Legend:

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

    r10689 r10716  
    9494        <br />
    9595        <?php printf(
    96             __( 'Check your email (%1$s) for the verification link, or <a href="%s">cancel the pending change</a>.', 'buddypress' ),
    97             '<code>' . esc_html( $pending_email['newemail'] ) . '</code>',
     96            __( 'Check your email (%1$s) for the verification link, or <a href="%2$s">cancel the pending change</a>.', 'buddypress' ),
     97            '<code>' . esc_html( bp_get_displayed_user_email() ) . '</code>',
    9898            esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' )
    9999        ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.