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
This commit is contained in:
parent
a08a12b46a
commit
a488f8e686
@ -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(
|
||||
'<p>test</p>'
|
||||
|
Loading…
Reference in New Issue
Block a user