Make WordPress Core

Ticket #24709: 24709-paginate-comment-links.diff

File 24709-paginate-comment-links.diff, 543 bytes (added by pauldewouters, 11 years ago)
  • link-template.php

     
    18751875                'total' => $max_page,
    18761876                'current' => $page,
    18771877                'echo' => true,
    1878                 'add_fragment' => '#comments'
     1878                'add_fragment' => '#comments',
     1879                'before_page_link' => '',
     1880                'after_page_link' => ''
    18791881        );
    18801882        if ( $wp_rewrite->using_permalinks() )
    18811883                $defaults['base'] = user_trailingslashit(trailingslashit(get_permalink()) . 'comment-page-%#%', 'commentpaged');