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
This commit is contained in:
parent
d61f2d464c
commit
fafbaa51e4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue