[wp-trac] [WordPress Trac] #62534: Pagination broken in admin for categories / tags / plugins

WordPress Trac noreply at wordpress.org
Wed Nov 27 12:01:00 UTC 2024


#62534: Pagination broken in admin for categories / tags / plugins
-------------------------------------+-------------------------------------
 Reporter:  ffffelix                 |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.7.2
Component:  Administration           |     Version:  6.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-testing-   |     Focuses:  ui, javascript,
  info                               |  administration
-------------------------------------+-------------------------------------

Comment (by im3dabasia1):

 Thank you, @rishavdutta.

 In the video, the data still corresponds to page 2, but the value in the
 input box changes to 1. Inspecting the DOM reveals that the actual value
 remains 2, but the input box displays 1.

 Initially, when clicking "Apply" under bulk actions, both the initial and
 current page numbers are the same, triggering the warning (this is
 considered a bulk actions request since the values are the same, so the
 warning is shown if no checkboxes are selected). However, on subsequent
 click, since the input box shows 1, the logic treats it as a pagination
 request, and the warning no longer appears.

 If we can identify why the input box value changes and ensure it remains
 consistent, this issue can likely be resolved. I'd appreciate any guidance
 or suggestions on this.

 PS: I checked on WordPress 6.6.2, and the page number was consistent after
 clicking on bulk actions from any other page, the input box would show the
 same number and would not change to 1.

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


More information about the wp-trac mailing list