mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-02 00:00:15 +00:00
Fix comment display when paging is off. see #7769
git-svn-id: https://develop.svn.wordpress.org/trunk@8964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1012,9 +1012,10 @@ class Walker {
|
||||
}
|
||||
|
||||
$total_top = count( $top_level_elements );
|
||||
|
||||
if ( $paging )
|
||||
$this->max_pages = ceil($total_top / $per_page);
|
||||
else
|
||||
$end = $total_top;
|
||||
|
||||
foreach( $top_level_elements as $e ){
|
||||
$count++;
|
||||
|
||||
Reference in New Issue
Block a user