forked from mirror/_s
Merge branch 'slobodan-updated-hAtom'
This commit is contained in:
commit
104b34821a
|
@ -66,9 +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 = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
|
||||
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
|
||||
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
|
||||
$time_string .= '<time class="updated" datetime="%3$s">%4$s</time>';
|
||||
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
|
||||
}
|
||||
|
||||
$time_string = sprintf( $time_string,
|
||||
|
|
Reference in New Issue