Skip to content

Commit

Permalink
Let all commenters reply to comments
Browse files Browse the repository at this point in the history
Fixed potch#22.
  • Loading branch information
phistuck committed Jan 31, 2016
1 parent e8cd7df commit 6e80846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hax/functions.php
Expand Up @@ -358,7 +358,7 @@ function hacks_comment($comment, $args, $depth) {

<a class="comment__meta" href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ); ?>" rel="bookmark" title="Permanent link to this comment by <?php comment_author(); ?>"><abbr class="published" title="<?php comment_date('Y-m-d'); ?>"><?php comment_date('F jS, Y'); ?></abbr> at <?php comment_time(); ?></a>

<?php if ( (get_option('thread_comments') == true) && (current_user_can('edit_post', $comment->comment_post_ID)) ) : ?>
<?php if ( (get_option('thread_comments') == true) && ($user_ID || get_option('comment_registration')) ) : ?>
<p class="comment__util"><?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?> <?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) : ?><span class="edit"><?php edit_comment_link('Edit Comment','',''); ?></span><?php endif; ?></p>
<?php endif; ?>
<?php
Expand Down

0 comments on commit 6e80846

Please sign in to comment.