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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-01-08 18:26:52 +00:00
parent 6674856a90
commit 80b08e3a29
1 changed files with 1 additions and 1 deletions

View File

@ -1354,7 +1354,7 @@ function paginate_comments_links($args = array()) {
'add_fragment' => '#comments' 'add_fragment' => '#comments'
); );
if ( $wp_rewrite->using_permalinks() ) 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 ); $args = wp_parse_args( $args, $defaults );
$page_links = paginate_links( $args ); $page_links = paginate_links( $args );