From 2d6ec60e04959d936effa814f466f8e6bf83ff18 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 15 Oct 2020 15:13:07 +0000 Subject: [PATCH] Twenty Twenty: Remove extra space from the comment link in `TwentyTwenty_Walker_Comment`. See #51533. Built from https://develop.svn.wordpress.org/trunk@49158 git-svn-id: http://core.svn.wordpress.org/trunk@48920 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../class-twentytwenty-walker-comment.php | 26 ++++++++++++------- wp-includes/version.php | 2 +- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php b/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php index eda038e3c8..c085878cb7 100644 --- a/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php +++ b/wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-comment.php @@ -63,18 +63,24 @@ if ( ! class_exists( 'TwentyTwenty_Walker_Comment' ) ) {
- - - - ', + esc_url( get_comment_link( $comment, $args ) ), + get_comment_time( 'c' ), + esc_attr( $comment_timestamp ), + esc_html( $comment_timestamp ) + ); + if ( get_edit_comment_link() ) { - echo ' ' . __( 'Edit', 'twentytwenty' ) . ''; + printf( + ' %s', + esc_url( get_edit_comment_link() ), + __( 'Edit', 'twentytwenty' ) + ); } ?>
diff --git a/wp-includes/version.php b/wp-includes/version.php index c60a23b80b..b3f08707bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49157'; +$wp_version = '5.6-alpha-49158'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.