MS: Fix pagination in MS Sites List Table when entering a page number.
When a page number is manually entered in the sites list table and no bulk action is selected, add `paged` as a query argument to the redirect. Fixes #32982. git-svn-id: https://develop.svn.wordpress.org/trunk@35917 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
11b969c95b
commit
5f5898d200
@ -161,7 +161,11 @@ if ( isset( $_GET['action'] ) ) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
wp_redirect( network_admin_url( 'sites.php' ) );
|
||||
$location = network_admin_url( 'sites.php' );
|
||||
if ( ! empty( $_REQUEST['paged'] ) ) {
|
||||
$location = add_query_arg( 'paged', (int) $_REQUEST['paged'], $location );
|
||||
}
|
||||
wp_redirect( $location );
|
||||
exit();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user