Code Duplication    Length = 6-6 lines in 2 locations

wp-includes/link-template.php 2 locations

@@ 2628-2633 (lines=6) @@
2625
	$result = get_permalink();
2626
2627
	if ( 'newest' == get_option('default_comments_page') ) {
2628
		if ( $pagenum != $max_page ) {
2629
			if ( $wp_rewrite->using_permalinks() )
2630
				$result = user_trailingslashit( trailingslashit($result) . $wp_rewrite->comments_pagination_base . '-' . $pagenum, 'commentpaged');
2631
			else
2632
				$result = add_query_arg( 'cpage', $pagenum, $result );
2633
		}
2634
	} elseif ( $pagenum > 1 ) {
2635
		if ( $wp_rewrite->using_permalinks() )
2636
			$result = user_trailingslashit( trailingslashit($result) . $wp_rewrite->comments_pagination_base . '-' . $pagenum, 'commentpaged');
@@ 2634-2639 (lines=6) @@
2631
			else
2632
				$result = add_query_arg( 'cpage', $pagenum, $result );
2633
		}
2634
	} elseif ( $pagenum > 1 ) {
2635
		if ( $wp_rewrite->using_permalinks() )
2636
			$result = user_trailingslashit( trailingslashit($result) . $wp_rewrite->comments_pagination_base . '-' . $pagenum, 'commentpaged');
2637
		else
2638
			$result = add_query_arg( 'cpage', $pagenum, $result );
2639
	}
2640
2641
	$result .= '#comments';
2642