Ticket #8913: 8913.7.patch
| File 8913.7.patch, 1.9 KB (added by , 2 years ago) |
|---|
-
classes/class-bp-groups-list-table.php
250 250 * @since 1.7.0 251 251 */ 252 252 public function no_items() { 253 _e( 'No groups found.', 'buddypress' );253 esc_html_e( 'No groups found.', 'buddypress' ); 254 254 } 255 255 256 256 /** … … 263 263 264 264 <h2 class="screen-reader-text"><?php 265 265 /* translators: accessibility text */ 266 _e( 'Groups list', 'buddypress' );266 esc_html_e( 'Groups list', 'buddypress' ); 267 267 ?></h2> 268 268 269 269 <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> … … 353 353 354 354 <h2 class="screen-reader-text"><?php 355 355 /* translators: accessibility text */ 356 _e( 'Filter groups list', 'buddypress' );356 esc_html_e( 'Filter groups list', 'buddypress' ); 357 357 ?></h2> 358 358 359 359 <ul class="subsubsub"> … … 849 849 $types = bp_groups_get_group_types( array(), 'objects' ); 850 850 ?> 851 851 <div class="alignleft actions"> 852 <label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php _e( 'Change group type to…', 'buddypress' ) ?></label>852 <label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php esc_html_e( 'Change group type to…', 'buddypress' ) ?></label> 853 853 <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…', 'buddypress' ) ?></option>854 <option value=""><?php esc_html_e( 'Change group type to…', 'buddypress' ) ?></option> 855 855 856 856 <?php foreach( $types as $type ) : ?> 857 857 … … 859 859 860 860 <?php endforeach; ?> 861 861 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> 863 863 864 864 </select> 865 865 <?php