Add screen option in site-users. Props duck_, see #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8b3cead70e
commit
652db28fad
|
@ -39,7 +39,8 @@ class WP_Users_List_Table extends WP_List_Table {
|
|||
|
||||
$role = isset( $_REQUEST['role'] ) ? $_REQUEST['role'] : '';
|
||||
|
||||
$users_per_page = $this->get_items_per_page( 'users_per_page' );
|
||||
$per_page = ( $this->is_site_users ) ? 'site_users_network_per_page' : 'users_per_page';
|
||||
$users_per_page = $this->get_items_per_page( $per_page );
|
||||
|
||||
$paged = $this->get_pagenum();
|
||||
|
||||
|
|
|
@ -351,6 +351,7 @@ function set_screen_options() {
|
|||
// Network admin
|
||||
case 'sites_network_per_page':
|
||||
case 'users_network_per_page':
|
||||
case 'site_users_network_per_page':
|
||||
case 'plugins_network_per_page':
|
||||
case 'themes_network_per_page':
|
||||
case 'site_themes_network_per_page':
|
||||
|
|
Loading…
Reference in New Issue