[wp-trac] [WordPress Trac] #40954: Create Category within posts screen error

WordPress Trac noreply at wordpress.org
Fri Feb 21 07:37:22 UTC 2025


#40954: Create Category within posts screen error
-------------------------------+-------------------------
 Reporter:  cfastenrath        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.8
 Severity:  normal             |  Resolution:  invalid
 Keywords:  close              |     Focuses:  javascript
-------------------------------+-------------------------

Comment (by ahtishamdev):

 @cfastenrath This issue occurs because the newly created category is not
 dynamically added to the category list via JavaScript. WordPress does
 create the category in the database, but the UI does not update
 automatically. To fix this, you can trigger a JavaScript refresh after
 category creation or use AJAX to update the list dynamically.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40954#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list