Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/19/2015 04:27:37 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Templates: Escape all gettext output in default template parts. See #1999.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/form-user-lost-pass.php

    r5561 r5688  
    1212<form method="post" action="<?php bbp_wp_login_action( array( 'action' => 'lostpassword', 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
    1313    <fieldset class="bbp-form">
    14         <legend><?php _e( 'Lost Password', 'bbpress' ); ?></legend>
     14        <legend><?php esc_html_e( 'Lost Password', 'bbpress' ); ?></legend>
    1515
    1616        <div class="bbp-username">
    1717            <p>
    18                 <label for="user_login" class="hide"><?php _e( 'Username or Email', 'bbpress' ); ?>: </label>
     18                <label for="user_login" class="hide"><?php esc_html_e( 'Username or Email', 'bbpress' ); ?>: </label>
    1919                <input type="text" name="user_login" value="" size="20" id="user_login" />
    2020            </p>
     
    2525        <div class="bbp-submit-wrapper">
    2626
    27             <button type="submit" name="user-submit" class="button submit user-submit"><?php _e( 'Reset My Password', 'bbpress' ); ?></button>
     27            <button type="submit" name="user-submit" class="button submit user-submit"><?php esc_html_e( 'Reset My Password', 'bbpress' ); ?></button>
    2828
    2929            <?php bbp_user_lost_pass_fields(); ?>
Note: See TracChangeset for help on using the changeset viewer.