Skip to:
Content

BuddyPress.org

Ticket #6900: 6900.diff

File 6900.diff, 1.1 KB (added by boonebgorges, 8 years ago)
  • src/bp-settings/bp-settings-template.php

    diff --git src/bp-settings/bp-settings-template.php src/bp-settings/bp-settings-template.php
    index 01f3b64..52a5d4d 100644
    function bp_settings_pending_email_notice() { 
    8888
    8989        <div id="message" class="bp-template-notice error">
    9090                <p><?php printf(
    91                         __( 'There is a pending change of your email address to %1$s.<br />Check your email (%2$s) for the verification link. <a href="%3$s">Cancel</a>', 'buddypress' ),
    92                         '<code>' . $pending_email['newemail'] . '</code>',
    93                         '<code>' . $pending_email['newemail'] . '</code>',
     91                        __( 'There is a pending change of your email address to %s.', 'buddypress' ),
     92                        '<code>' . esc_html( $pending_email['newemail'] ) . '</code>'
     93                ); ?>
     94                <br />
     95                <?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>',
    9498                        esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' )
    95                 );
    96                 ?></p>
     99                ); ?></p>
    97100        </div>
    98101
    99102        <?php