Changeset 34792
- Timestamp:
- 10/03/2015 01:26:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r34735 r34792 725 725 $cpage = get_page_of_comment( $comment->comment_ID, $args ); 726 726 } 727 }728 729 // Drop the 'page' var if we're on the default page.730 $comment_post = get_post( $comment->comment_post_ID );731 if ( $args['per_page'] ) {732 $total_pages = ceil( $comment_post->comment_count / $args['per_page'] );733 } else {734 $total_pages = 1;735 727 } 736 728
Note: See TracChangeset
for help on using the changeset viewer.