WordPress.org

Make WordPress Core

Changeset 8964


Ignore:
Timestamp:
09/24/2008 05:20:17 AM (12 years ago)
Author:
ryan
Message:

Fix comment display when paging is off. see #7769

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r8961 r8964  
    10131013
    10141014        $total_top = count( $top_level_elements );
    1015 
    10161015        if ( $paging )
    10171016            $this->max_pages = ceil($total_top / $per_page);
     1017        else
     1018            $end = $total_top;
    10181019
    10191020        foreach( $top_level_elements as $e ){
  • trunk/wp-includes/comment-template.php

    r8963 r8964  
    10161016
    10171017    if ( empty($r['per_page']) ) {
     1018        $r['per_page'] = 0;
    10181019        $r['page'] = 0;
    10191020    } else {
Note: See TracChangeset for help on using the changeset viewer.