[wp-trac] [WordPress Trac] #42763: class-wp-list-table unnecessarily disables first and last pagination buttons

WordPress Trac noreply at wordpress.org
Fri Oct 1 18:39:06 UTC 2021


#42763: class-wp-list-table unnecessarily disables first and last pagination
buttons
------------------------------+---------------------------------
 Reporter:  wp_kc             |       Owner:  hellofromTonya
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.9
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  ui, administration
------------------------------+---------------------------------
Changes (by hellofromTonya):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51880" 51880]:
 {{{
 #!CommitTicketReference repository="" revision="51880"
 Administration: Enable first and last page buttons in
 `WP_List_Table::pagination()`.

 Previously the first and last page pagination buttons were disabled when
 on their next or previous page respectively. This commit removes that
 unnecessary logic to keep these buttons enabled and avoid confusion in the
 user's navigation workflow.

 New behavior:
 - When on page 2, the go to first page `«` button is enabled
 - When on the page before the last page, the go to last page `»` button is
 enabled

 Follow-up to [32948], [47219].

 Props wp_kc, ronakganatra, knutsp, sabernhardt, Hareesh Pillai, audrasjb,
 hellofromTonya.
 Fixes #42763.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42763#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list