diff options
| author | Eltrac Koalar <hi@guhub.cn> | 2020-03-05 17:21:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 17:21:32 +0800 |
| commit | 800a3f5a5d0cc461ea3c52a1e8b508c5de3ee6f2 (patch) | |
| tree | 35546613cdba758fbd518d44302b42c258ddc3f7 | |
| parent | 5f0a2c32f9c406b738cd82ed9415c497225ff871 (diff) | |
✍️ Perf: 评论人链接新窗口打开
| -rw-r--r-- | includes/comments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/comments.php b/includes/comments.php index 7f1da91..bd79af2 100644 --- a/includes/comments.php +++ b/includes/comments.php @@ -31,7 +31,7 @@ echo $commentClass; <?php getCommentHF($comments->coid); $comments->content(); ?>
</div>
<p class="comment-meta">
- <span class="comment-author"><?php $comments->author(); ?></span>
+ <span class="comment-author"><a href="<?php echo $comments->url; ?>" target="_blank"><?php echo $comments->author; ?></a></span>
<span class="comment-date">
<?php if ('waiting' == $comments->status) { ?>
<em class="comment-waiting">您的评论正在等待审核!</em>
|
