forked from mirror/_s
Remove invalid pubdate value from time elements in image.php
This commit is contained in:
parent
3774c2cbfd
commit
0d20442227
|
@ -21,7 +21,7 @@ get_header();
|
||||||
<div class="entry-meta">
|
<div class="entry-meta">
|
||||||
<?php
|
<?php
|
||||||
$metadata = wp_get_attachment_metadata();
|
$metadata = wp_get_attachment_metadata();
|
||||||
printf( __( 'Published <span class="entry-date"><time class="entry-date" datetime="%1$s" pubdate>%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', '_s' ),
|
printf( __( 'Published <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', '_s' ),
|
||||||
esc_attr( get_the_date( 'c' ) ),
|
esc_attr( get_the_date( 'c' ) ),
|
||||||
esc_html( get_the_date() ),
|
esc_html( get_the_date() ),
|
||||||
wp_get_attachment_url(),
|
wp_get_attachment_url(),
|
||||||
|
|
Reference in New Issue