X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/38ca813a0e312e2768e5b9519f0415cd0aa84781..5aa86a9053fb0fa15846bb60aac2fb8fdfff524a:/wp-admin/includes/class-wp-themes-list-table.php diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php index 5cb7648e..4839b504 100644 --- a/wp-admin/includes/class-wp-themes-list-table.php +++ b/wp-admin/includes/class-wp-themes-list-table.php @@ -47,7 +47,7 @@ class WP_Themes_List_Table extends WP_List_Table { unset( $themes[$ct->name] ); uksort( $themes, "strnatcasecmp" ); - $per_page = 15; + $per_page = 24; $page = $this->get_pagenum(); $start = ( $page - 1 ) * $per_page; @@ -92,7 +92,7 @@ class WP_Themes_List_Table extends WP_List_Table { if ( $this->get_pagination_arg( 'total_pages' ) <= 1 ) return; ?> -
+
pagination( $which ); ?>
@@ -105,11 +105,9 @@ class WP_Themes_List_Table extends WP_List_Table { ?> tablenav( 'top' ); ?> - - - display_rows_or_placeholder(); ?> - -
+
+ display_rows_or_placeholder(); ?> +
tablenav( 'bottom' ); ?> $cols ) { -?> - - $theme_name ) { - $class = array( 'available-theme' ); - if ( $row == 1 ) $class[] = 'top'; - if ( $col == 1 ) $class[] = 'left'; - if ( $row == $rows ) $class[] = 'bottom'; - if ( $col == 3 ) $class[] = 'right'; -?> - - +
+ $theme_name ) { - - - - +