Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-10-06 23:43:20 +00:00
parent 9e80bec002
commit 653a6c1108
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ $wp_list_table->prepare_items();
wp_enqueue_script('plugin-install'); wp_enqueue_script('plugin-install');
add_thickbox(); add_thickbox();
$current_screen->add_option( 'per_page', array('label' => _x( 'Plugins', 'plugins per page (screen options)' )) ); $current_screen->add_option( 'per_page', array('label' => _x( 'Plugins', 'plugins per page (screen options)' ), 'default' => 999 ) );
$current_screen->add_option_context( $current_screen->add_option_context(
'<p>test</p>' '<p>test</p>'