﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16357,Bugs with pagination input,garyc40,markjaquith,"(moved from #16356)

There are a few bugs with pagination that I found

- {{{users.php}}} don't redirect when {{{$pagenum > $total_pages}}}

- Go to edit-tags.php, navigate to the 3rd page, for example. Then enter {{{2}}} in the pagination input box and press enter. You'll be in page number 3.

- Go to network/users.php , enter a page number in the pagination input box and press enter. It simply redirects to page 1.

- WP_Users_List_Table and WP_MS_Users_List_Table doesn't set the proper pagination args when {{{$pagenum > $total_pages}}} . This is because total user count is not executed when no results are returned from the query. See the change I made in {{{wp-includes/user.php}}}.

Should all the redirection when {{{$pagenum > $total_pages}}} be centralized in WP_List_Table? We can put that logic inside {{{WP_List_Table->set_pagination_args()}}}.",defect (bug),closed,normal,3.1,General,3.1,normal,fixed,has-patch needs-testing,
