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
This commit is contained in:
Ryan Boren 2012-09-05 20:33:34 +00:00
parent 96c86ed800
commit 653e3b3ae6
1 changed files with 1 additions and 1 deletions

View File

@ -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;