Remove html from string

This commit is contained in:
Ulrich Pogson 2014-03-24 00:08:21 +01:00
parent 43241a811d
commit 5e62b8dc9e
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,8 @@ function _s_posted_on() {
esc_html( get_the_modified_date() ) 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>', sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>',
esc_url( get_permalink() ), esc_url( get_permalink() ),
$time_string $time_string