From a488f8e686afffae5561c70e4823ff59f45a64e8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 6 Oct 2011 23:43:20 +0000 Subject: [PATCH] Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@18908 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 671377085d..89fe544ea5 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -316,7 +316,7 @@ $wp_list_table->prepare_items(); wp_enqueue_script('plugin-install'); 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( '

test

'