Changeset 47886 for trunk/src/wp-content/themes/twentyeleven/content.php
- Timestamp:
- 06/02/2020 05:03:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/content.php
r47808 r47886 53 53 <footer class="entry-meta"> 54 54 <?php $show_sep = false; ?> 55 55 56 <?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported. ?> 56 57 <?php 57 58 /* translators: Used between list items, there is a space after the comma. */ 58 59 $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) ); 60 59 61 if ( $categories_list ) : 60 62 ?> … … 68 70 <?php endif; // End if categories. ?> 69 71 <?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ). ?> 72 70 73 <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported. ?> 71 74 <?php 72 75 /* translators: Used between list items, there is a space after the comma. */ 73 76 $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) ); 74 if ( $tags_list ) : 77 78 if ( $tags_list && ! is_wp_error( $tags_list ) ) : 75 79 if ( $show_sep ) : 76 80 ?>
Note: See TracChangeset
for help on using the changeset viewer.