WordPress.org

Make WordPress Core

Changeset 10336


Ignore:
Timestamp:
01/08/09 18:27:25 (7 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r10278 r10336  
    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.