Skip to content

Commit

Permalink
some CS
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavf committed Apr 8, 2018
1 parent 6af98e3 commit b2880f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ function _s_posted_on_by() {
);

printf(
/* translators: %1$s: post date, %2$s: post author . */
__( '<span class="posted-on">Posted on %1$s</span> <span class="byline">by %2%s</span>', '_s' ),
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>',
/* translators: %1$s: post date, %2$s: post author . */
__( '<span class="posted-on">Posted on %1$s</span> <span class="byline">by %2$s</span>', '_s' ),
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>', // WPCS: XSS OK.
'<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>'
);
}
Expand Down

0 comments on commit b2880f5

Please sign in to comment.