Changeset 52929 for trunk/src/wp-content/themes/twentyeleven/content.php
- Timestamp:
- 03/13/2022 08:01:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/content.php
r47886 r52929 56 56 <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported. ?> 57 57 <?php 58 /* translators: Used between list items, there is a space after the comma. */ 59 $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); 58 $categories_list = get_the_category_list( wp_get_list_item_separator() ); 60 59 61 60 if ( $categories_list ) : … … 73 72 <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported. ?> 74 73 <?php 75 /* translators: Used between list items, there is a space after the comma. */ 76 $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); 74 $tags_list = get_the_tag_list( '', wp_get_list_item_separator() ); 77 75 78 76 if ( $tags_list && ! is_wp_error( $tags_list ) ) :
Note: See TracChangeset
for help on using the changeset viewer.