From 5c27fded17314e93984c50c049e56465d2ab6d5e Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 3 Apr 2017 00:20:06 +0200 Subject: [PATCH] I18n: Fix a translation call for a text string which needs context --- inc/template-tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index 7aa07144..b696d113 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -53,7 +53,7 @@ function _s_entry_footer() { } /* translators: used between list items, there is a space after the comma */ - $tags_list = get_the_tag_list( '', esc_html__( ', ', '_s' ) ); + $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', '_s' ) ); if ( $tags_list ) { printf( '' . esc_html__( 'Tagged %1$s', '_s' ) . '', $tags_list ); // WPCS: XSS OK. }