[wp-trac] [WordPress Trac] #16356: Pagination UI different between top and bottom on administration screens

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 24 02:46:34 UTC 2011


#16356: Pagination UI different between top and bottom on administration screens
----------------------------+------------------
 Reporter:  linuxologos     |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by garyc40):

 There are a few additional bugs with pagination that I found (which are
 also addressed in
 [http://core.trac.wordpress.org/attachment/ticket/16356/garyc40.16356.diff
 garyc40.16356.diff]

 - 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()}}}.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16356#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list