From 614929f25b21af6ec644dfc8375df497d080760d Mon Sep 17 00:00:00 2001 From: scribu Date: Sun, 5 Sep 2010 19:26:01 +0000 Subject: [PATCH] Fix theme pagination. See #14579 git-svn-id: http://svn.automattic.com/wordpress/trunk@15577 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/default-list-tables.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/default-list-tables.php b/wp-admin/includes/default-list-tables.php index e3f3f064f..6ac8a59d0 100644 --- a/wp-admin/includes/default-list-tables.php +++ b/wp-admin/includes/default-list-tables.php @@ -3565,9 +3565,9 @@ class WP_Themes_Table extends WP_List_Table { uksort( $themes, "strnatcasecmp" ); $per_page = 15; - $page = $this->get_pagenum( 'pagenum' ); + $page = $this->get_pagenum(); - $start = $offset = ( $page - 1 ) * $per_page; + $start = ( $page - 1 ) * $per_page; $this->items = array_slice( $themes, $start, $per_page );