[wp-trac] [WordPress Trac] #64815: Categories and Tags: .tablenav (item count/pagination) does not update after AJAX add/delete

WordPress Trac noreply at wordpress.org
Thu Mar 5 15:50:32 UTC 2026


#64815: Categories and Tags: .tablenav (item count/pagination) does not update
after AJAX add/delete
---------------------------+-----------------------------
 Reporter:  mathiaspeguet  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:  ui             |
---------------------------+-----------------------------
 == 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).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64815>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list