~canonical-sysadmins/wordpress/4.9.4

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyseventeen/inc/template-tags.php

  • Committer: Barry Price
  • Date: 2017-11-17 04:49:02 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: barry.price@canonical.com-20171117044902-5frux4ycbq6g9fyf
Merge WP4.9 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                                                        echo '<span class="cat-links">' . twentyseventeen_get_svg( array( 'icon' => 'folder-open' ) ) . '<span class="screen-reader-text">' . __( 'Categories', 'twentyseventeen' ) . '</span>' . $categories_list . '</span>';
85
85
                                                }
86
86
 
87
 
                                                if ( $tags_list ) {
 
87
                                                if ( $tags_list && ! is_wp_error( $tags_list ) ) {
88
88
                                                        echo '<span class="tags-links">' . twentyseventeen_get_svg( array( 'icon' => 'hashtag' ) ) . '<span class="screen-reader-text">' . __( 'Tags', 'twentyseventeen' ) . '</span>' . $tags_list . '</span>';
89
89
                                                }
90
90