[wp-trac] [WordPress Trac] #62534: Pagination broken in admin for categories / tags / plugins
WordPress Trac
noreply at wordpress.org
Fri Nov 22 16:28:26 UTC 2024
#62534: Pagination broken in admin for categories / tags / plugins
--------------------------------------------+-----------------------------
Reporter: ffffelix | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 6.7
Severity: normal | Keywords:
Focuses: ui, javascript, administration |
--------------------------------------------+-----------------------------
On list tables, the top pagination control includes an input field to type
a desired page number, triggering navigation when the Enter key is
pressed.
Since 6.7, #58479 introduced validation on the bulk actions submit button,
which inadvertently blocks this pagination from functioning as expected on
taxonomy lists and the plugins table. The form submission is prevented and
an admin notice shown reading ''"Please select at least one item to
perform this action on."''
As a result, users are unable to navigate to pages directly via the input
field. Instead, they must either navigate one page at a time using the
pagination arrows or manually modify the URL parameter.
The bug only affects list tables where the search submit button is within
a different {{{<form>}}} element from the pagination field. On other pages
(e.g. posts, pages, comments) the pagination input field submits using the
search submit button; so is unaffected by the JavaScript handler on the
bulk actions submit button.
The bug is not present in 6.6.2.
**Pages affected:**
* {{{/wp-admin/edit-tags.php?taxonomy=category}}}
* {{{/wp-admin/edit-tags.php?taxonomy=post_tag}}}
* {{{/wp-admin/plugins.php}}}
* plus any custom taxonomies
**Steps to reproduce:**
1. Create enough tags to span multiple pages.
2. Navigate to {{{/wp-admin/edit-tags.php?taxonomy=post_tag}}}.
3. In the top pagination control, type "2" into the field and press Enter.
**Expected behaviour:**
Page 2 of the tag list loads
**Actual behaviour:**
The user remains on page 1, and the following error message is displayed:
''"Please select at least one item to perform this action on."''
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62534>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list