From 013b783a05cc8e35cc66549ff0e96f72321f6514 Mon Sep 17 00:00:00 2001
From: nacin <nacin@1a063a9b-81f0-0310-95a4-ce76da25c4cd>
Date: Thu, 23 Feb 2012 14:42:01 +0000
Subject: [PATCH] Preserve keys when splitting themes up for pagination. props
 Utkarsh. fixes #15306.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
 wp-admin/includes/class-wp-themes-list-table.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php
index 6c9eccdcf6..52ba90451d 100644
--- a/wp-admin/includes/class-wp-themes-list-table.php
+++ b/wp-admin/includes/class-wp-themes-list-table.php
@@ -58,7 +58,7 @@ class WP_Themes_List_Table extends WP_List_Table {
 
 		$start = ( $page - 1 ) * $per_page;
 
-		$this->items = array_slice( $themes, $start, $per_page );
+		$this->items = array_slice( $themes, $start, $per_page, true );
 
 		$this->set_pagination_args( array(
 			'total_items' => count( $themes ),