From 0d87d0bb7005b880221febfabc4025f725f40bc2 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Wed, 30 Jul 2014 14:47:16 -0500 Subject: [PATCH] _s: Continue using a default `time` tag. We only need to change the default markup if published and updated timestamps are different. --- inc/template-tags.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index 04b0637f..d28fdfc1 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -66,11 +66,9 @@ if ( ! function_exists( '_s_posted_on' ) ) : * Prints HTML with meta information for the current post-date/time and author. */ function _s_posted_on() { + $time_string = ''; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { - $time_string = ''; - $time_string .= ''; - } else { - $time_string = ''; + $time_string = ''; } $time_string = sprintf( $time_string,