Added escaping.
This commit is contained in:
parent
fe2ec80b18
commit
e8c6fd272b
|
@ -237,9 +237,9 @@ class WC_Admin_Log_Table_List extends WP_List_Table {
|
|||
if ( ! empty( $sources ) ) {
|
||||
$selected_source = isset( $_REQUEST['source'] ) ? $_REQUEST['source'] : '';
|
||||
?>
|
||||
<label for="filter-by-source" class="screen-reader-text"><?php _e( 'Filter by source', 'woocommerce' ); ?></label>
|
||||
<label for="filter-by-source" class="screen-reader-text"><?php esc_html_e( 'Filter by source', 'woocommerce' ); ?></label>
|
||||
<select name="source" id="filter-by-source">
|
||||
<option<?php selected( $selected_source, '' ); ?> value=""><?php _e( 'All sources', 'woocommerce' ); ?></option>
|
||||
<option<?php selected( $selected_source, '' ); ?> value=""><?php esc_html_e( 'All sources', 'woocommerce' ); ?></option>
|
||||
<?php
|
||||
foreach ( $sources as $s ) {
|
||||
printf(
|
||||
|
|
Loading…
Reference in New Issue