Comments: Further remove unnecessary context switch in Walker_Comment.

Follow-up to [49157].

See #51533.

git-svn-id: https://develop.svn.wordpress.org/trunk@49160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-15 15:24:57 +00:00
parent fee906ad14
commit c0f41b5d3c

View File

@ -345,9 +345,9 @@ class Walker_Comment extends Walker {
get_comment_time()
)
);
?>
<?php edit_comment_link( __( '(Edit)' ), '&nbsp;&nbsp;', '' ); ?>
edit_comment_link( __( '(Edit)' ), ' &nbsp;&nbsp;', '' );
?>
</div>
<?php
@ -445,9 +445,9 @@ class Walker_Comment extends Walker {
get_comment_time()
)
);
?>
<?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
edit_comment_link( __( 'Edit' ), ' <span class="edit-link">', '</span>' );
?>
</div><!-- .comment-metadata -->
<?php if ( '0' == $comment->comment_approved ) : ?>