Skip to content

Commit b2880f5

Browse files
committed
some CS
1 parent 6af98e3 commit b2880f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inc/template-tags.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ function _s_posted_on_by() {
2626
);
2727

2828
printf(
29-
/* translators: %1$s: post date, %2$s: post author . */
30-
__( '<span class="posted-on">Posted on %1$s</span> <span class="byline">by %2%s</span>', '_s' ),
31-
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>',
29+
/* translators: %1$s: post date, %2$s: post author . */
30+
__( '<span class="posted-on">Posted on %1$s</span> <span class="byline">by %2$s</span>', '_s' ),
31+
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>', // WPCS: XSS OK.
3232
'<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'
3333
);
3434
}

0 commit comments

Comments
 (0)