diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index e742072115..48a08ba780 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -1354,7 +1354,7 @@ function paginate_comments_links($args = array()) { 'add_fragment' => '#comments' ); if ( $wp_rewrite->using_permalinks() ) - $defaults['base'] = user_trailingslashit(get_permalink() . 'comment-page-%#%', 'commentpaged'); + $defaults['base'] = user_trailingslashit(trailingslashit(get_permalink()) . 'comment-page-%#%', 'commentpaged'); $args = wp_parse_args( $args, $defaults ); $page_links = paginate_links( $args );