equal
deleted
inserted
replaced
35 |
35 |
36 if ( $pagination_arrow ) { |
36 if ( $pagination_arrow ) { |
37 $label .= $pagination_arrow; |
37 $label .= $pagination_arrow; |
38 } |
38 } |
39 |
39 |
40 $next_comments_link = get_next_comments_link( $label, $max_page ); |
40 $next_comments_link = get_next_comments_link( $label, $max_page, $comment_vars['paged'] ?? null ); |
41 |
41 |
42 remove_filter( 'next_posts_link_attributes', $filter_link_attributes ); |
42 remove_filter( 'next_posts_link_attributes', $filter_link_attributes ); |
43 |
43 |
44 if ( ! isset( $next_comments_link ) ) { |
44 if ( ! isset( $next_comments_link ) ) { |
45 return ''; |
45 return ''; |