Skip to:
Content

BuddyPress.org

Ticket #8913: 8913.7.patch

File 8913.7.patch, 1.9 KB (added by viralsampat, 2 years ago)

I have checked above mentioned issue and founds few more files. I have applied its patch.

  • classes/class-bp-groups-list-table.php

     
    250250         * @since 1.7.0
    251251         */
    252252        public function no_items() {
    253                 _e( 'No groups found.', 'buddypress' );
     253                esc_html_e( 'No groups found.', 'buddypress' );
    254254        }
    255255
    256256        /**
     
    263263
    264264                <h2 class="screen-reader-text"><?php
    265265                        /* translators: accessibility text */
    266                         _e( 'Groups list', 'buddypress' );
     266                        esc_html_e( 'Groups list', 'buddypress' );
    267267                ?></h2>
    268268
    269269                <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
     
    353353
    354354                <h2 class="screen-reader-text"><?php
    355355                        /* translators: accessibility text */
    356                         _e( 'Filter groups list', 'buddypress' );
     356                        esc_html_e( 'Filter groups list', 'buddypress' );
    357357                ?></h2>
    358358
    359359                <ul class="subsubsub">
     
    849849                $types = bp_groups_get_group_types( array(), 'objects' );
    850850                ?>
    851851                <div class="alignleft actions">
    852                         <label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php _e( 'Change group type to&hellip;', 'buddypress' ) ?></label>
     852                        <label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php esc_html_e( 'Change group type to&hellip;', 'buddypress' ) ?></label>
    853853                        <select name="<?php echo $id_name; ?>" id="<?php echo $id_name; ?>" style="display:inline-block;float:none;">
    854                                 <option value=""><?php _e( 'Change group type to&hellip;', 'buddypress' ) ?></option>
     854                                <option value=""><?php esc_html_e( 'Change group type to&hellip;', 'buddypress' ) ?></option>
    855855
    856856                                <?php foreach( $types as $type ) : ?>
    857857
     
    859859
    860860                                <?php endforeach; ?>
    861861
    862                                 <option value="remove_group_type"><?php _e( 'No Group Type', 'buddypress' ) ?></option>
     862                                <option value="remove_group_type"><?php esc_html_e( 'No Group Type', 'buddypress' ) ?></option>
    863863
    864864                        </select>
    865865                        <?php