Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyri Isomäki committed Nov 18, 2019
1 parent b4ee369 commit 46ed9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ private function get_comment_depth( $comment_id ) {
$depth_level = 0;

while ( $comment_id > 0 ) {
$comment = get_comment( $comment_id );
$comment = get_comment( $comment_id );
$comment_id = $comment->comment_parent;
$depth_level++;
}
Expand Down

0 comments on commit 46ed9c8

Please sign in to comment.