Skip to content

Commit

Permalink
Crore
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyBiryukov authored Oct 6, 2024
1 parent 967e4eb commit 11a2d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/comment-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ function wp_list_comments( $args = array(), $comments = null ) {
$_comments = $wp_query->comments_by_type[ $parsed_args['type'] ];
} else {
$_comments = $wp_query->comments;
}
}

if ( $wp_query->max_num_comment_pages ) {
$default_comments_page = get_option( 'default_comments_page' );
Expand All @@ -2353,7 +2353,7 @@ function wp_list_comments( $args = array(), $comments = null ) {
if ( 'newest' === $default_comments_page ) {
$parsed_args['cpage'] = $cpage;
} elseif ( 1 === (int) $cpage ) {
/*
/*
* When the first page shows the oldest comments,
* post permalink is the same as the comment permalink.
*/
Expand Down

0 comments on commit 11a2d4f

Please sign in to comment.