From 0f13be98151959c285e3c4181f7e6001d70e2a34 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 30 Apr 2008 20:05:25 +0000 Subject: [PATCH] Add comments_per_page filter git-svn-id: http://svn.automattic.com/wordpress/trunk@7859 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index b4f9540681..30d9aa146a 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -131,22 +131,24 @@ unset($status_links); add_query_arg( 'apage', '%#%' ), 'format' => '', - 'total' => ceil($total / 20), + 'total' => ceil($total / $comments_per_page), 'current' => $page ));