Ticket #19469: 19469.diff
File 19469.diff, 1.5 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/misc.php
347 347 case 'upload_per_page': 348 348 case 'edit_tags_per_page': 349 349 case 'plugins_per_page': 350 case 'themes_per_page': 350 351 // Network admin 351 352 case 'sites_network_per_page': 352 353 case 'users_network_per_page': -
wp-admin/includes/class-wp-themes-list-table.php
47 47 unset( $themes[$ct->name] ); 48 48 uksort( $themes, "strnatcasecmp" ); 49 49 50 $per_page = 24;50 $per_page = $this->get_items_per_page( str_replace( '-', '_', get_current_screen()->id . '_per_page' ), 24 );; 51 51 $page = $this->get_pagenum(); 52 52 53 53 $start = ( $page - 1 ) * $per_page; -
wp-admin/themes.php
46 46 'content' => $help_manage, 47 47 ) ); 48 48 49 add_screen_option( 'per_page', array( 'label' => _x( 'Themes', 'themes per page (screen options)' ), 'default' => 24 ) ); 50 49 51 if ( current_user_can( 'install_themes' ) ) { 50 52 if ( is_multisite() ) { 51 53 $help_install = '<p>' . __('Installing themes on Multisite can only be done from the Network Admin section.') . '</p>';