- Timestamp:
- 02/07/2021 12:26:41 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/inc/template-tags.php
r49866 r50233 26 26 echo '<span class="posted-on">'; 27 27 printf( 28 /* translators: %s: publish date. */28 /* translators: %s: Publish date. */ 29 29 esc_html__( 'Published %s', 'twentytwentyone' ), 30 30 $time_string // phpcs:ignore WordPress.Security.EscapeOutput … … 46 46 echo '<span class="byline">'; 47 47 printf( 48 /* translators: %s author name. */48 /* translators: %s: Author name. */ 49 49 esc_html__( 'By %s', 'twentytwentyone' ), 50 50 '<a href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" rel="author">' . esc_html( get_the_author() ) . '</a>' … … 101 101 echo '<div class="post-taxonomies">'; 102 102 103 /* translators: used between list items, there is a space after the comma. */103 /* translators: Used between list items, there is a space after the comma. */ 104 104 $categories_list = get_the_category_list( __( ', ', 'twentytwentyone' ) ); 105 105 if ( $categories_list ) { 106 106 printf( 107 /* translators: %s: list of categories. */107 /* translators: %s: List of categories. */ 108 108 '<span class="cat-links">' . esc_html__( 'Categorized as %s', 'twentytwentyone' ) . ' </span>', 109 109 $categories_list // phpcs:ignore WordPress.Security.EscapeOutput … … 111 111 } 112 112 113 /* translators: used between list items, there is a space after the comma. */113 /* translators: Used between list items, there is a space after the comma. */ 114 114 $tags_list = get_the_tag_list( '', __( ', ', 'twentytwentyone' ) ); 115 115 if ( $tags_list ) { 116 116 printf( 117 /* translators: %s: list of tags. */117 /* translators: %s: List of tags. */ 118 118 '<span class="tags-links">' . esc_html__( 'Tagged %s', 'twentytwentyone' ) . '</span>', 119 119 $tags_list // phpcs:ignore WordPress.Security.EscapeOutput … … 145 145 echo '<div class="post-taxonomies">'; 146 146 147 /* translators: used between list items, there is a space after the comma. */147 /* translators: Used between list items, there is a space after the comma. */ 148 148 $categories_list = get_the_category_list( __( ', ', 'twentytwentyone' ) ); 149 149 if ( $categories_list ) { 150 150 printf( 151 /* translators: %s: list of categories. */151 /* translators: %s: List of categories. */ 152 152 '<span class="cat-links">' . esc_html__( 'Categorized as %s', 'twentytwentyone' ) . ' </span>', 153 153 $categories_list // phpcs:ignore WordPress.Security.EscapeOutput … … 155 155 } 156 156 157 /* translators: used between list items, there is a space after the comma. */157 /* translators: Used between list items, there is a space after the comma. */ 158 158 $tags_list = get_the_tag_list( '', __( ', ', 'twentytwentyone' ) ); 159 159 if ( $tags_list ) { 160 160 printf( 161 /* translators: %s: list of tags. */161 /* translators: %s: List of tags. */ 162 162 '<span class="tags-links">' . esc_html__( 'Tagged %s', 'twentytwentyone' ) . '</span>', 163 163 $tags_list // phpcs:ignore WordPress.Security.EscapeOutput
Note: See TracChangeset
for help on using the changeset viewer.