Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/10/2015 06:36:49 PM (9 years ago)
Author:
djpaul
Message:

Settings: fix notification when a change of email address is pending

The verification email is sent to the new address, not the previous
address. The message was misleading.

See #6163

Props willgladstone

File:
1 edited

Legend:

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

    r10137 r10236  
    9191
    9292    <div id="message" class="bp-template-notice error">
    93         <p><?php printf( __( 'There is a pending change of your email address to <code>%1$s</code>.<br />Check your email (<code>%2$s</code>) for the verification link. <a href="%3$s">Cancel</a>', 'buddypress' ), $pending_email['newemail'], bp_get_displayed_user_email(), esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' ) ) ?></p>
     93        <p><?php printf( __( 'There is a pending change of your email address to <code>%1$s</code>.<br />Check your email (<code>%2$s</code>) for the verification link. <a href="%3$s">Cancel</a>', 'buddypress' ), $pending_email['newemail'], $pending_email['newemail'], esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' ) ); ?></p>
    9494    </div>
    9595
Note: See TracChangeset for help on using the changeset viewer.