diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 80a3743fbf..9a27404597 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -2916,6 +2916,7 @@ function paginate_comments_links( $args = array() ) { 'total' => $max_page, 'current' => $page, 'echo' => true, + 'type' => 'plain', 'add_fragment' => '#comments', ); if ( $wp_rewrite->using_permalinks() ) {