Changeset 55246 for trunk/src/wp-includes/blocks/comment-template.php
- Timestamp:
- 02/07/2023 07:01:56 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/comment-template.php
r54335 r55246 51 51 if ( ! empty( $children ) && ! empty( $thread_comments ) ) { 52 52 if ( $comment_depth < $thread_comments_depth ) { 53 $comment_depth += 1;53 ++$comment_depth; 54 54 $inner_content = block_core_comment_template_render_comments( 55 55 $children, … … 57 57 ); 58 58 $block_content .= sprintf( '<ol>%1$s</ol>', $inner_content ); 59 $comment_depth -= 1;59 --$comment_depth; 60 60 } else { 61 61 $inner_content = block_core_comment_template_render_comments( … … 71 71 72 72 return $content; 73 74 73 } 75 74
Note: See TracChangeset
for help on using the changeset viewer.