Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Commit 1f7fef5

Browse files
committed
some CS
1 parent 6af98e3 commit 1f7fef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/template-tags.php

Lines changed: 2 additions & 2 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 . */
29+
/* translators: %1$s: post date, %2$s: post author . */
3030
__( '<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>',
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)