Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

#64815 closed defect (bug) (duplicate)

Categories and Tags: .tablenav (item count/pagination) does not update after AJAX add/delete

Reported by: mathiaspeguet's profile mathiaspeguet Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords:
Focuses: ui Cc:

Description

Description

On the "Categories" and "Tags" screens, when adding or deleting items via AJAX, the .tablenav elements (specifically the total item count and pagination links) do not update dynamically.

The UI remains stale, showing the previous number of items and the old pagination state until the page is manually refreshed.

Steps to Reproduce

  1. Navigate to Posts > Categories (or Tags).
  2. Note the total item count in the top-right or bottom-right .tablenav area.
  3. Add a new category or delete an existing one.
  4. Observe that while the list itself updates, the "X items" count and pagination links in .tablenav remain unchanged.

Expected Behavior

The .tablenav counters and pagination should refresh via AJAX to reflect the current state of the taxonomy list after an addition or deletion.

Environment

  • Plugins: Tested with all plugins deactivated and a default theme (Twenty Twenty-Five).

Attachments (1)

Screenshot 2026-03-05 at 16-37-52 Tags ‹ Test A WP — WordPress.png (46.3 KB) - added by mathiaspeguet 5 weeks ago.
6 tags counted as 3

Download all attachments as: .zip

Change History (3)

#1 @audrasjb
5 weeks ago

  • Component changed from General to Taxonomy

#2 @joedolson
5 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #63372.

Thanks for reporting! This is already being tracked in #63772.

Note: See TracTickets for help on using tickets.