Merge pull request #1030 from lu4sh1i/patch-1

Update template-tags.php
This commit is contained in:
UnderstrapFramework 2019-12-13 11:27:08 +00:00 committed by GitHub
commit 124b606a31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if ( ! function_exists( 'understrap_posted_on' ) ) {
);
$byline = apply_filters(
'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_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_html( get_the_author() )