WordPress.org

Make WordPress Core

Ticket #8219: 8219.patch

File 8219.patch, 1.2 KB (added by Viper007Bond, 13 years ago)

Might need a bit of styling

  • wp-content/themes/default/comments.php

     
    2020<?php if ( have_comments() ) : ?>
    2121        <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
    2222
     23        <div class="navigation">
     24                <div class="alignleft"><?php previous_comments_link() ?></div>
     25                <div class="alignright"><?php next_comments_link() ?></div>
     26        </div>
     27
    2328        <ol class="commentlist">
    2429        <?php wp_list_comments(); ?>
    2530        </ol>
     31
    2632        <div class="navigation">
    2733                <div class="alignleft"><?php previous_comments_link() ?></div>
    2834                <div class="alignright"><?php next_comments_link() ?></div>
  • wp-includes/link-template.php

     
    12651265        if ( empty($max_page) )
    12661266                $max_page = $wp_query->max_num_comment_pages;
    12671267
     1268        if ( empty($max_page) )
     1269                $max_page = get_comment_pages_count();
     1270
    12681271        if ( $nextpage > $max_page )
    12691272                return;
    12701273