Skip to content

Commit 3b7a05b

Browse files
committed
Ensure all translations are run throgh esc_x
1 parent 94c71f0 commit 3b7a05b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/osi/template-parts/content-archive-board-member.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
<?php if ( osi_field_check( 'current_term_start_date' ) ) : ?>
3737
<p class="member-dates">
3838
<?php
39-
echo __( 'Current Term:', 'osi' ) . ' ';
39+
echo esc_html__( 'Current Term:', 'osi' ) . ' ';
4040
osi_the_valid_date_field( 'current_term_start_date', 'M Y' );
4141
if ( osi_field_check( 'current_term_end_date' ) ) :
42-
echo ' ' . __( 'to', 'osi' ) . ' ';
42+
echo ' ' . esc_html__( 'to', 'osi' ) . ' ';
4343
osi_the_valid_date_field( 'current_term_end_date', 'M Y' );
4444
endif;
4545
?>

0 commit comments

Comments
 (0)