Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6de00a0495
commit
7b3569ab29
|
@ -136,7 +136,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
uasort( $this->items, array( &$this, '_order_callback' ) );
|
uasort( $this->items, array( &$this, '_order_callback' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
$plugins_per_page = $this->get_items_per_page( str_replace( '-', '_', $screen->id . '_per_page' ) );
|
$plugins_per_page = $this->get_items_per_page( str_replace( '-', '_', $screen->id . '_per_page' ), 999 );
|
||||||
|
|
||||||
$start = ( $page - 1 ) * $plugins_per_page;
|
$start = ( $page - 1 ) * $plugins_per_page;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue