Skip to:
Content

bbPress.org

Changeset 4958


Ignore:
Timestamp:
05/27/2013 08:17:22 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Use esc_html_e() in user template functions. See #1999.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/users/template-tags.php

    r4948 r4958  
    931931
    932932    <div class="bbp-template-notice updated">
    933         <p><?php _e( 'User updated.', 'bbpress' ); ?></p>
     933        <p><?php esc_html_e( 'User updated.', 'bbpress' ); ?></p>
    934934    </div>
    935935
     
    956956
    957957    <div class="bbp-template-notice important">
    958         <p><?php bbp_is_user_home() || bbp_is_user_home_edit() ? _e( 'You have super admin privileges.', 'bbpress' ) : _e( 'This user has super admin privileges.', 'bbpress' ); ?></p>
     958        <p><?php bbp_is_user_home() || bbp_is_user_home_edit() ? esc_html_e( 'You have super admin privileges.', 'bbpress' ) : esc_html_e( 'This user has super admin privileges.', 'bbpress' ); ?></p>
    959959    </div>
    960960
     
    10211021
    10221022    <select name="role" id="role">
    1023         <option value=""><?php _e( '&mdash; No role for this site &mdash;', 'bbpress' ); ?></option>
     1023        <option value=""><?php esc_html_e( '&mdash; No role for this site &mdash;', 'bbpress' ); ?></option>
    10241024
    10251025        <?php foreach ( get_editable_roles() as $role => $details ) : ?>
     
    10561056
    10571057    <select name="bbp-forums-role" id="bbp-forums-role">
    1058         <option value=""><?php _e( '&mdash; No role for these forums &mdash;', 'bbpress' ); ?></option>
     1058        <option value=""><?php esc_html_e( '&mdash; No role for these forums &mdash;', 'bbpress' ); ?></option>
    10591059
    10601060        <?php foreach ( $dynamic_roles as $role => $details ) : ?>
Note: See TracChangeset for help on using the changeset viewer.