From 966d649f3c05447288a1d05ebdfb07e06389a7fc Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Mon, 19 Aug 2013 10:18:10 +0100 Subject: [PATCH] _s: Use comment_reply_link arguments to wrap reply link Avoid empty div if no reply link --- inc/template-tags.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index e5cd2298..06c8d543 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -99,9 +99,15 @@ function _s_comment( $comment, $args, $depth ) { -
- 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> -
+ 'div-comment', + 'depth' => $depth, + 'max_depth' => $args['max_depth'], + 'before' => '
', + 'after' => '
', + ) ) ); + ?>