From 3b7a8a7eca27fb9d86b10ae9b471f649d3a71468 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 15 Oct 2020 15:24:08 +0000 Subject: [PATCH] Twenty Nineteen: Remove extra space from the comment link in `TwentyNineteen_Walker_Comment`. Fixes #51533. Built from https://develop.svn.wordpress.org/trunk@49159 git-svn-id: http://core.svn.wordpress.org/trunk@48921 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../class-twentynineteen-walker-comment.php | 24 ++++++++++--------- wp-includes/version.php | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php b/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php index 4a27479453..3e02cf542f 100644 --- a/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php +++ b/wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php @@ -73,18 +73,20 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
- - - - ' . $edit_comment_icon, '' ); + /* translators: 1: Comment date, 2: Comment time. */ + $comment_timestamp = sprintf( __( '%1$s at %2$s', 'twentynineteen' ), get_comment_date( '', $comment ), get_comment_time() ); + + printf( + '', + esc_url( get_comment_link( $comment, $args ) ), + get_comment_time( 'c' ), + esc_attr( $comment_timestamp ), + $comment_timestamp + ); + + $edit_comment_icon = twentynineteen_get_icon_svg( 'edit', 16 ); + edit_comment_link( __( 'Edit', 'twentynineteen' ), ' ' . $edit_comment_icon, '' ); ?>
diff --git a/wp-includes/version.php b/wp-includes/version.php index b3f08707bb..a5717d842c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49158'; +$wp_version = '5.6-alpha-49159'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.