~canonical-sysadmins/wordpress/4.9.4

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyfifteen/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:
97
97
                }
98
98
 
99
99
                $tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfifteen' ) );
100
 
                if ( $tags_list ) {
 
100
                if ( $tags_list && ! is_wp_error( $tags_list ) ) {
101
101
                        printf( '<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
102
102
                                _x( 'Tags', 'Used before tag names.', 'twentyfifteen' ),
103
103
                                $tags_list