Revert "Adjust byline for hidden date case"
This reverts commit 5ea71dac54
.
This commit is contained in:
parent
5ea71dac54
commit
7783b14cb3
|
@ -37,7 +37,7 @@ if ( ! function_exists ( 'understrap_posted_on' ) ) {
|
||||||
$byline = apply_filters(
|
$byline = apply_filters(
|
||||||
'understrap_posted_by', sprintf(
|
'understrap_posted_by', sprintf(
|
||||||
'<span class="byline"> %1$s<span class="author vcard"><a class="url fn n" href="%2$s"> %3$s</a></span></span>',
|
'<span class="byline"> %1$s<span class="author vcard"><a class="url fn n" href="%2$s"> %3$s</a></span></span>',
|
||||||
$posted_on ? esc_html_x( 'by', 'post author', 'understrap' ) : esc_html_x( 'Posted by', 'post author', 'understrap' ),
|
esc_html_x( 'by', 'post author', 'understrap' ),
|
||||||
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
|
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
|
||||||
esc_html( get_the_author() )
|
esc_html( get_the_author() )
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue