File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ function _s_posted_on_by() {
26
26
);
27
27
28
28
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.
32
32
'<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> '
33
33
);
34
34
}
You can’t perform that action at this time.
0 commit comments