Merge two strings in `Walker_Comment::comment()` and `Walker_Comment::html5_comment()`.
Props pavelevap. Fixes #33744. git-svn-id: https://develop.svn.wordpress.org/trunk@33919 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d77b6f99c6
commit
f8f8de0ecf
|
@ -1934,7 +1934,7 @@ class Walker_Comment extends Walker {
|
|||
|
||||
<div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID, $args ) ); ?>">
|
||||
<?php
|
||||
/* translators: 1: date, 2: time */
|
||||
/* translators: 1: comment date, 2: comment time */
|
||||
printf( __( '%1$s at %2$s' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)' ), ' ', '' );
|
||||
?>
|
||||
</div>
|
||||
|
@ -1983,7 +1983,10 @@ class Walker_Comment extends Walker {
|
|||
<div class="comment-metadata">
|
||||
<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID, $args ) ); ?>">
|
||||
<time datetime="<?php comment_time( 'c' ); ?>">
|
||||
<?php printf( _x( '%1$s at %2$s', '1: date, 2: time' ), get_comment_date(), get_comment_time() ); ?>
|
||||
<?php
|
||||
/* translators: 1: comment date, 2: comment time */
|
||||
printf( __( '%1$s at %2$s' ), get_comment_date(), get_comment_time() );
|
||||
?>
|
||||
</time>
|
||||
</a>
|
||||
<?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
|
|
Loading…
Reference in New Issue