forked from mirror/_s
Remove html from string
This commit is contained in:
parent
43241a811d
commit
5e62b8dc9e
|
@ -82,7 +82,8 @@ function _s_posted_on() {
|
|||
esc_html( get_the_modified_date() )
|
||||
);
|
||||
|
||||
printf( __( '<span class="posted-on">Posted on %1$s</span><span class="byline"> by %2$s</span>', '_s' ),
|
||||
printf(
|
||||
'<span class="posted-on">' . __( 'Posted on %1$s', '_s' ) . '</span><span class="byline"> ' . __( 'by %2$s', '_s' ) . '</span>',
|
||||
sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>',
|
||||
esc_url( get_permalink() ),
|
||||
$time_string
|
||||
|
|
Reference in New Issue