From 681898a422260376dd97d529204f6a54d661d490 Mon Sep 17 00:00:00 2001 From: Pavlic Date: Wed, 28 Aug 2019 03:11:43 +0300 Subject: [PATCH] Update template-tags.php Removes unnecessary space inside the author tag and adds it just before opening it --- inc/template-tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index 2beb880..d41f2cb 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -35,7 +35,7 @@ if ( ! function_exists( 'understrap_posted_on' ) ) { ); $byline = apply_filters( 'understrap_posted_by', sprintf( - ' %3$s', + ' %1$s %3$s', $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() )