diff --git wp-admin/includes/class-wp-themes-list-table.php wp-admin/includes/class-wp-themes-list-table.php
index 97ae61c..42eaff0 100644
|
|
|
class WP_Themes_List_Table extends WP_List_Table { |
| 47 | 47 | unset( $themes[$ct->name] ); |
| 48 | 48 | uksort( $themes, "strnatcasecmp" ); |
| 49 | 49 | |
| 50 | | $per_page = 15; |
| | 50 | $per_page = $this->get_items_per_page( 'themes_per_page', 15 ); |
| 51 | 51 | $page = $this->get_pagenum(); |
| 52 | 52 | |
| 53 | 53 | $start = ( $page - 1 ) * $per_page; |
diff --git wp-admin/includes/misc.php wp-admin/includes/misc.php
index e3d3dad..b867d00 100644
|
|
|
function set_screen_options() { |
| 346 | 346 | case 'upload_per_page': |
| 347 | 347 | case 'edit_tags_per_page': |
| 348 | 348 | case 'plugins_per_page': |
| | 349 | case 'themes_per_page': |
| 349 | 350 | // Network admin |
| 350 | 351 | case 'sites_network_per_page': |
| 351 | 352 | case 'users_network_per_page': |
diff --git wp-admin/themes.php wp-admin/themes.php
index ea36c4b..37adb86 100644
|
|
|
$wp_list_table->prepare_items(); |
| 35 | 35 | $title = __('Manage Themes'); |
| 36 | 36 | $parent_file = 'themes.php'; |
| 37 | 37 | |
| | 38 | add_screen_option( 'per_page', array( 'label' => _x( 'Themes', 'themes per page (screen options)' ) ) ); |
| | 39 | |
| 38 | 40 | if ( current_user_can( 'switch_themes' ) ) : |
| 39 | 41 | |
| 40 | 42 | $help = '<p>' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>'; |