WordPress.org

Make WordPress Core

Changeset 10335


Ignore:
Timestamp:
01/08/09 18:26:52 (6 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r10277 r10335  
    13551355    ); 
    13561356    if ( $wp_rewrite->using_permalinks() ) 
    1357         $defaults['base'] = user_trailingslashit(get_permalink() . 'comment-page-%#%', 'commentpaged'); 
     1357        $defaults['base'] = user_trailingslashit(trailingslashit(get_permalink()) . 'comment-page-%#%', 'commentpaged'); 
    13581358 
    13591359    $args = wp_parse_args( $args, $defaults ); 
Note: See TracChangeset for help on using the changeset viewer.