diff options
Diffstat (limited to 'themes/twentyfourteen/content.php')
-rw-r--r-- | themes/twentyfourteen/content.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/twentyfourteen/content.php b/themes/twentyfourteen/content.php index bf053633..1c480433 100644 --- a/themes/twentyfourteen/content.php +++ b/themes/twentyfourteen/content.php @@ -14,7 +14,7 @@ <?php twentyfourteen_post_thumbnail(); ?> <header class="entry-header"> - <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?> + <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ), true ) && twentyfourteen_categorized_blog() ) : ?> <div class="entry-meta"> <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span> </div> @@ -30,7 +30,7 @@ <div class="entry-meta"> <?php - if ( 'post' == get_post_type() ) { + if ( 'post' === get_post_type() ) { twentyfourteen_posted_on(); } @@ -52,9 +52,9 @@ <?php else : ?> <div class="entry-content"> <?php - /* translators: %s: Name of current post */ the_content( sprintf( + /* translators: %s: Post title. */ __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ), the_title( '<span class="screen-reader-text">', '</span>', false ) ) |