Skip to:
Content

BuddyPress.org

Changeset 10264


Ignore:
Timestamp:
10/13/2015 05:20:38 PM (5 years ago)
Author:
djpaul
Message:

Settings: avoid using HTML tags in translation strings.

Fixes #6660

Props ramiy

File:
1 edited

Legend:

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

    r10236 r10264  
    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'], $pending_email['newemail'], esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' ) ); ?></p>
     93        <p><?php printf(
     94            __( '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' ),
     95            '<code>' . $pending_email['newemail'] . '</code>',
     96            '<code>' . $pending_email['newemail'] . '</code>',
     97            esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' )
     98        );
     99        ?></p>
    94100    </div>
    95101
Note: See TracChangeset for help on using the changeset viewer.