Code Duplication    Length = 3-3 lines in 2 locations

src/wp-includes/comment-template.php 2 locations

@@ 729-731 (lines=3) @@
726
727
	// No 'cpage' is provided, so we calculate one.
728
	} else {
729
		if ( '' === $args['per_page'] && get_option( 'page_comments' ) ) {
730
			$args['per_page'] = get_option('comments_per_page');
731
		}
732
733
		if ( empty( $args['per_page'] ) ) {
734
			$args['per_page'] = 0;
@@ 2055-2057 (lines=3) @@
2052
		}
2053
	}
2054
2055
	if ( '' === $r['per_page'] && get_option( 'page_comments' ) ) {
2056
		$r['per_page'] = get_query_var('comments_per_page');
2057
	}
2058
2059
	if ( empty($r['per_page']) ) {
2060
		$r['per_page'] = 0;