Ticket #15269: 15269.patch
File 15269.patch, 2.1 KB (added by , 14 years ago) |
---|
-
wp-admin/includes/misc.php
343 343 344 344 switch ( $map_option ) { 345 345 case 'edit_per_page': 346 case 'sites_network_per_page':347 346 case 'users_per_page': 348 case 'users_network_per_page':349 347 case 'edit_comments_per_page': 350 348 case 'upload_per_page': 351 349 case 'edit_tags_per_page': 352 350 case 'plugins_per_page': 351 // Multisite specific 352 case 'sites_network_per_page': 353 case 'users_network_per_page': 354 case 'plugins_network_per_page': 355 case 'themes_network_per_page': 353 356 $value = (int) $value; 354 357 if ( $value < 1 || $value > 999 ) 355 358 return; -
wp-admin/network/themes.php
66 66 $wp_list_table->prepare_items(); 67 67 add_thickbox(); 68 68 69 add_screen_option( 'per_page', array('label' => _x( 'Themes', 'themes per page (screen options)' ) , 'default' => 999) );69 add_screen_option( 'per_page', array('label' => _x( 'Themes', 'themes per page (screen options)' )) ); 70 70 71 71 add_contextual_help($current_screen, 72 72 '<p>' . __('This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using.') . '</p>' . -
wp-admin/plugins.php
296 296 wp_enqueue_script('plugin-install'); 297 297 add_thickbox(); 298 298 299 add_screen_option( 'per_page', array('label' => _x( 'Plugins', 'plugins per page (screen options)' ) , 'default' => 999) );299 add_screen_option( 'per_page', array('label' => _x( 'Plugins', 'plugins per page (screen options)' )) ); 300 300 301 301 add_contextual_help($current_screen, 302 302 '<p>' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '</p>' .