Skip to:
Content

bbPress.org

Changeset 4768


Ignore:
Timestamp:
02/18/2013 12:18:54 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Use esc_attr_e() in form-search.php. Props paulgibbs. Fixes #2212.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/default/bbpress/form-search.php

    r4645 r4768  
    1414        <label class="screen-reader-text hidden" for="bbp_search"><?php _e( 'Search for:', 'bbpress' ); ?></label>
    1515        <input tabindex="<?php bbp_tab_index(); ?>" type="text" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" id="bbp_search" />
    16         <input tabindex="<?php bbp_tab_index(); ?>" class="button" type="submit" id="bbp_search_submit" value="<?php _e( 'Search', 'bbpress' ); ?>" />
     16        <input tabindex="<?php bbp_tab_index(); ?>" class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'bbpress' ); ?>" />
    1717    </div>
    1818</form>
Note: See TracChangeset for help on using the changeset viewer.