Skip to:
Content

BuddyPress.org

Ticket #6900: 6900.patch

File 6900.patch, 1.2 KB (added by ramiy, 8 years ago)
  • src/bp-settings/bp-settings-template.php

     
    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>',
    94                         esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' )
    95                 );
    96                 ?></p>
     91                        __( 'There is a pending change of your email address to %s.', 'buddypress' ),
     92                        '<code>' . $pending_email['newemail'] . '</code>'
     93                ); ?>
     94                <br />
     95                <?php printf(
     96                        __( 'Check your email (%s) for the verification link.', 'buddypress' ),
     97                        '<code>' . $pending_email['newemail'] . '</code>'
     98                ); ?>
     99                <a href="<?php echo esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' ); ?>"><?php __( 'Cancel', 'buddypress' ); ?></a>
     100                </p>
    97101        </div>
    98102
    99103        <?php