Add comments for translators
This commit is contained in:
parent
088830154e
commit
b6af4ac452
|
@ -57,12 +57,14 @@ if ( ! function_exists ( 'understrap_entry_footer' ) ) {
|
||||||
/* translators: used between list items, there is a space after the comma */
|
/* translators: used between list items, there is a space after the comma */
|
||||||
$categories_list = get_the_category_list( esc_html__( ', ', 'understrap' ) );
|
$categories_list = get_the_category_list( esc_html__( ', ', 'understrap' ) );
|
||||||
if ( $categories_list && understrap_categorized_blog() ) {
|
if ( $categories_list && understrap_categorized_blog() ) {
|
||||||
printf( '<span class="cat-links">' . esc_html__( 'Posted in %1$s', 'understrap' ) . '</span>', $categories_list ); // WPCS: XSS OK.
|
/* translators: %s: Categories of current post */
|
||||||
|
printf( '<span class="cat-links">' . esc_html__( 'Posted in %s', 'understrap' ) . '</span>', $categories_list ); // WPCS: XSS OK.
|
||||||
}
|
}
|
||||||
/* translators: used between list items, there is a space after the comma */
|
/* translators: used between list items, there is a space after the comma */
|
||||||
$tags_list = get_the_tag_list( '', esc_html__( ', ', 'understrap' ) );
|
$tags_list = get_the_tag_list( '', esc_html__( ', ', 'understrap' ) );
|
||||||
if ( $tags_list ) {
|
if ( $tags_list ) {
|
||||||
printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', 'understrap' ) . '</span>', $tags_list ); // WPCS: XSS OK.
|
/* translators: %s: Tags of current post */
|
||||||
|
printf( '<span class="tags-links">' . esc_html__( 'Tagged %s', 'understrap' ) . '</span>', $tags_list ); // WPCS: XSS OK.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
|
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
|
||||||
|
|
Reference in New Issue