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/content-single-topic-lead.php

    r5403 r5688  
    1616        <li class="bbp-header">
    1717
    18                 <div class="bbp-topic-author"><?php  _e( 'Creator',  'bbpress' ); ?></div><!-- .bbp-topic-author -->
     18                <div class="bbp-topic-author"><?php esc_html_e( 'Creator',  'bbpress' ); ?></div><!-- .bbp-topic-author -->
    1919
    2020                <div class="bbp-topic-content">
    2121
    22                         <?php _e( 'Topic', 'bbpress' ); ?>
     22                        <?php esc_html_e( 'Topic', 'bbpress' ); ?>
    2323
    2424                </div><!-- .bbp-topic-content -->
     
    8484        <li class="bbp-footer">
    8585
    86                 <div class="bbp-topic-author"><?php  _e( 'Creator',  'bbpress' ); ?></div>
     86                <div class="bbp-topic-author"><?php esc_html_e( 'Creator',  'bbpress' ); ?></div>
    8787
    8888                <div class="bbp-topic-content">
    8989
    90                         <?php _e( 'Topic', 'bbpress' ); ?>
     90                        <?php esc_html_e( 'Topic', 'bbpress' ); ?>
    9191
    9292                </div><!-- .bbp-topic-content -->
Note: See TracChangeset for help on using the changeset viewer.