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
This commit is contained in:
parent
2d6ec60e04
commit
3b7a8a7eca
|
@ -73,18 +73,20 @@ class TwentyNineteen_Walker_Comment extends Walker_Comment {
|
||||||
</div><!-- .comment-author -->
|
</div><!-- .comment-author -->
|
||||||
|
|
||||||
<div class="comment-metadata">
|
<div class="comment-metadata">
|
||||||
<a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>">
|
|
||||||
<?php
|
<?php
|
||||||
/* translators: 1: Comment date, 2: Comment time. */
|
/* translators: 1: Comment date, 2: Comment time. */
|
||||||
$comment_timestamp = sprintf( __( '%1$s at %2$s', 'twentynineteen' ), get_comment_date( '', $comment ), get_comment_time() );
|
$comment_timestamp = sprintf( __( '%1$s at %2$s', 'twentynineteen' ), get_comment_date( '', $comment ), get_comment_time() );
|
||||||
?>
|
|
||||||
<time datetime="<?php comment_time( 'c' ); ?>" title="<?php echo $comment_timestamp; ?>">
|
printf(
|
||||||
<?php echo $comment_timestamp; ?>
|
'<a href="%s"><time datetime="%s" title="%s">%s</time></a>',
|
||||||
</time>
|
esc_url( get_comment_link( $comment, $args ) ),
|
||||||
</a>
|
get_comment_time( 'c' ),
|
||||||
<?php
|
esc_attr( $comment_timestamp ),
|
||||||
|
$comment_timestamp
|
||||||
|
);
|
||||||
|
|
||||||
$edit_comment_icon = twentynineteen_get_icon_svg( 'edit', 16 );
|
$edit_comment_icon = twentynineteen_get_icon_svg( 'edit', 16 );
|
||||||
edit_comment_link( __( 'Edit', 'twentynineteen' ), '<span class="edit-link-sep">—</span> <span class="edit-link">' . $edit_comment_icon, '</span>' );
|
edit_comment_link( __( 'Edit', 'twentynineteen' ), ' <span class="edit-link-sep">—</span> <span class="edit-link">' . $edit_comment_icon, '</span>' );
|
||||||
?>
|
?>
|
||||||
</div><!-- .comment-metadata -->
|
</div><!-- .comment-metadata -->
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue