From fafbaa51e4bf3e18bf7624ecae03e15236c3b0cc 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: http://core.svn.wordpress.org/trunk@21768 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 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;