Make WordPress Core


Ignore:
Timestamp:
01/25/2011 07:20:20 PM (15 years ago)
Author:
ryan
Message:

Pagination fixes. Props garyc40. fixes #16357

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/edit.php

    r17360 r17361  
    428428            wp_redirect( add_query_arg( array( 'updated' => 'true', 'action' => $userfunction ), wp_get_referer() ) );
    429429        } else {
    430             wp_redirect( network_admin_url( 'users.php' ) );
     430            $location = network_admin_url( 'users.php' );
     431
     432            if ( ! empty( $_REQUEST['paged'] ) )
     433                $location = add_query_arg( 'paged', (int) $_REQUEST['paged'], $location );
     434            wp_redirect( $location );
    431435        }
    432436        exit();
Note: See TracChangeset for help on using the changeset viewer.