Skip to:
Content

bbPress.org


Ignore:
Timestamp:
04/19/2015 04:27:37 PM (11 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/loop-search.php

    r4579 r5688  
    1616    <li class="bbp-header">
    1717
    18         <div class="bbp-search-author"><?php  _e( 'Author',  'bbpress' ); ?></div><!-- .bbp-reply-author -->
     18        <div class="bbp-search-author"><?php esc_html_e( 'Author',  'bbpress' ); ?></div><!-- .bbp-reply-author -->
    1919
    2020        <div class="bbp-search-content">
    2121
    22             <?php _e( 'Search Results', 'bbpress' ); ?>
     22            <?php esc_html_e( 'Search Results', 'bbpress' ); ?>
    2323
    2424        </div><!-- .bbp-search-content -->
     
    3838    <li class="bbp-footer">
    3939
    40         <div class="bbp-search-author"><?php  _e( 'Author',  'bbpress' ); ?></div>
     40        <div class="bbp-search-author"><?php esc_html_e( 'Author',  'bbpress' ); ?></div>
    4141
    4242        <div class="bbp-search-content">
    4343
    44             <?php _e( 'Search Results', 'bbpress' ); ?>
     44            <?php esc_html_e( 'Search Results', 'bbpress' ); ?>
    4545
    4646        </div><!-- .bbp-search-content -->
Note: See TracChangeset for help on using the changeset viewer.