Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -427,7 +427,11 @@ switch ( $_GET['action'] ) {
|
||||
|
||||
wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => $userfunction ), wp_get_referer() ) );
|
||||
} else {
|
||||
wp_redirect( network_admin_url( 'users.php' ) );
|
||||
$location = network_admin_url( 'users.php' );
|
||||
|
||||
if ( ! empty( $_REQUEST['paged'] ) )
|
||||
$location = add_query_arg( 'paged', (int) $_REQUEST['paged'], $location );
|
||||
wp_redirect( $location );
|
||||
}
|
||||
exit();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user