Opened 2 months ago
Closed 2 months ago
#63395 closed defect (bug) (duplicate)
Minor UI improvement : Category Count Not Updating After Adding/Deleting New Category without page refresh
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | ui, accessibility, javascript | Cc: |
Description
There is UI issues on the Category page in the WordPress admin when adding or deleting categories:
- Navigate to Posts.
- In the Categories panel, click “+ Add Category”.
- Enter a new category name (e.g., Test Category 1) and click “Add New Category”.
- The new category gets added and auto-selected via JavaScript (AJAX).
- Without saving or refreshing the page, add another new category (e.g., Test Category 2) in the same way.
- Observe the category count in the top right.
- Expected: The category count should increment.
- Actual: The count remains unchanged or still shows 1, even though the second category should increase the count.
Environment
WordPress: 6.8.1
PHP: 8.2
Theme: Twenty Twenty-Five Version: 1.2
Local Server: WordPress Studio
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hey @akshaydhere Thanks for the issue!
This issue has been previously discussed in ticket #45076.
Since this ticket describes the same behavior, I'm marking it as a duplicate of #45076 to consolidate the discussion and any future improvements in one place.