[wp-trac] [WordPress Trac] #63395: Minor UI improvement : Category Count Not Updating After Adding/Deleting New Category without page refresh

WordPress Trac noreply at wordpress.org
Mon May 5 12:45:26 UTC 2025


#63395: Minor UI improvement : Category Count Not Updating After Adding/Deleting
New Category without page refresh
-------------------------------------------+-----------------------------
 Reporter:  akshaydhere                    |      Owner:  (none)
     Type:  defect (bug)                   |     Status:  new
 Priority:  normal                         |  Milestone:  Awaiting Review
Component:  General                        |    Version:
 Severity:  normal                         |   Keywords:
  Focuses:  ui, accessibility, javascript  |
-------------------------------------------+-----------------------------
 There is UI issues on the Category page in the WordPress admin when adding
 or deleting categories:


 1. Navigate to Posts.

 2. In the Categories panel, click “+ Add Category”.

 3. Enter a new category name (e.g., Test Category 1) and click “Add New
 Category”.

 4. The new category gets added and auto-selected via JavaScript (AJAX).

 5. Without saving or refreshing the page, add another new category (e.g.,
 Test Category 2) in the same way.

 6. Observe the category count in the top right.

 7. Expected: The category count should increment.

 8. 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

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


More information about the wp-trac mailing list