forked from mirror/_s
Merge pull request #1100 from jrfnl/feature/i18n-translation-call-context
I18n: Fix a translation call for a text string which needs context
This commit is contained in:
commit
d2b58f60fe
|
@ -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( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', '_s' ) . '</span>', $tags_list ); // WPCS: XSS OK.
|
||||
}
|
||||
|
|
Reference in New Issue