#25203 closed enhancement (duplicate)
Use comment_reply_link arguments to wrap reply link
Reported by: | thomasguillot | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6 |
Component: | Comments | Keywords: | has-patch needs-refresh |
Focuses: | Cc: |
Description
Avoid empty div if no reply link
wp-includes/comment-template.php
<div class="reply"> <?php comment_reply_link( array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> </div>
to
<?php comment_reply_link( array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => '<div class="reply">', 'after' => '</div>', ) ) ); ?>
Attachments (1)
Change History (8)
#4
@
9 years ago
- Keywords needs-refresh added
- Milestone changed from Awaiting Review to Future Release
#5
@
9 years ago
Just looked into this- and no need for a patch anymore. It seems as though this got solved somewhere along the line.
Note: See
TracTickets for help on using
tickets.
+1 here. I would like to see the patch refreshed and the HTML comment removed from the
'after'
argument.