[wp-trac] [WordPress Trac] #59667: Edit Category Screen: Improve error message when trying to update a category with an existing slug

WordPress Trac noreply at wordpress.org
Wed Oct 18 00:02:37 UTC 2023


#59667: Edit Category Screen: Improve error message when trying to update a
category with an existing slug
-------------------------+-----------------------------
 Reporter:  plari        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:  6.3.2
 Severity:  minor        |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 **Request:** improve the error message shown on the Category Edit screen
 when trying to set an already-used slug.

 **Why:**

 If I edit a category and try to give it a slug that is already used on
 another category, I encounter the vague error `Category not updated.`

 This error is not very informative.

 By comparison, if I Quick-Edit to make this change, though, I am told:
 `The slug “example-slug” is already in use by another term.`, which is
 much clearer and I understand the problem right away.

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


More information about the wp-trac mailing list