WordPress.org

Make WordPress Core

Ticket #17545: 17545.2.diff

File 17545.2.diff, 1.1 KB (added by kawauso, 6 years ago)

Refreshed against r21186

  • wp-admin/network/site-themes.php

     
    4949$_SERVER['REQUEST_URI'] = remove_query_arg( $temp_args, $_SERVER['REQUEST_URI'] );
    5050$referer = remove_query_arg( $temp_args, wp_get_referer() );
    5151
     52if ( ! empty( $_REQUEST['paged'] ) )
     53        $referer = add_query_arg( 'paged', (int) $_REQUEST['paged'], $referer );
     54
    5255$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
    5356
    5457if ( ! $id )
  • wp-admin/network/site-users.php

     
    3939$_SERVER['REQUEST_URI'] = remove_query_arg( 'update', $_SERVER['REQUEST_URI'] );
    4040$referer = remove_query_arg( 'update', wp_get_referer() );
    4141
     42if ( ! empty( $_REQUEST['paged'] ) )
     43        $referer = add_query_arg( 'paged', (int) $_REQUEST['paged'], $referer );
     44
    4245$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
    4346
    4447if ( ! $id )