From 653e3b3ae6ad208cde625e12dbe5795021c3be0f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 5 Sep 2012 20:33:34 +0000 Subject: [PATCH] Change the number of themes shown per page in themes.php from 999 to 36 so that infinite scroll engages. 36 was chosen to match the per page limit for theme-install.php git-svn-id: https://develop.svn.wordpress.org/trunk@21768 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 91553dbf6e..fecddfd50d 100644 --- a/wp-admin/includes/class-wp-themes-list-table.php +++ b/wp-admin/includes/class-wp-themes-list-table.php @@ -42,7 +42,7 @@ class WP_Themes_List_Table extends WP_List_Table { unset( $themes[ get_option( 'stylesheet' ) ] ); WP_Theme::sort_by_name( $themes ); - $per_page = 999; + $per_page = 36; $page = $this->get_pagenum(); $start = ( $page - 1 ) * $per_page;