Fix paginate comment link slashing. Props AntonShevchuk. fixes #8821 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@10335 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-01-08 18:26:52 +00:00
parent 11fce3b702
commit d664f9888f
1 changed files with 1 additions and 1 deletions

View File

@ -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 );