- Timestamp:
- 03/13/2022 08:01:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/inc/template-tags.php
r50233 r52929 101 101 echo '<div class="post-taxonomies">'; 102 102 103 /* translators: Used between list items, there is a space after the comma. */ 104 $categories_list = get_the_category_list( __( ', ', 'twentytwentyone' ) ); 103 $categories_list = get_the_category_list( wp_get_list_item_separator() ); 105 104 if ( $categories_list ) { 106 105 printf( … … 111 110 } 112 111 113 /* translators: Used between list items, there is a space after the comma. */ 114 $tags_list = get_the_tag_list( '', __( ', ', 'twentytwentyone' ) ); 112 $tags_list = get_the_tag_list( '', wp_get_list_item_separator() ); 115 113 if ( $tags_list ) { 116 114 printf( … … 145 143 echo '<div class="post-taxonomies">'; 146 144 147 /* translators: Used between list items, there is a space after the comma. */ 148 $categories_list = get_the_category_list( __( ', ', 'twentytwentyone' ) ); 145 $categories_list = get_the_category_list( wp_get_list_item_separator() ); 149 146 if ( $categories_list ) { 150 147 printf( … … 155 152 } 156 153 157 /* translators: Used between list items, there is a space after the comma. */ 158 $tags_list = get_the_tag_list( '', __( ', ', 'twentytwentyone' ) ); 154 $tags_list = get_the_tag_list( '', wp_get_list_item_separator() ); 159 155 if ( $tags_list ) { 160 156 printf(
Note: See TracChangeset
for help on using the changeset viewer.