PluginProbe
Gutenberg / 14.5.2
Gutenberg v14.5.2
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/block-library/blocks/comment-reply-link.php +1 -1 12.6.0 → 14.5.2 View file →
@@ -33,9 +33,9 @@
33 33 $parent_id = $comment->comment_parent;
34 34
35 35 // Compute comment's depth iterating over its ancestors.
36 36 while ( ! empty( $parent_id ) ) {
37 - $depth++;
37 + ++$depth;
38 38 $parent_id = get_comment( $parent_id )->comment_parent;
39 39 }
40 40
41 41 $comment_reply_link = get_comment_reply_link(