Make WordPress Core

Opened 6 months ago

#59667 new enhancement

Edit Category Screen: Improve error message when trying to update a category with an existing slug

Reported by: plari's profile plari Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 6.3.2
Component: Taxonomy Keywords:
Focuses: Cc:

Description

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.

Attachments (1)

Screen Capture on 2023-10-17 at 16-54-16.mp4 (453.6 KB) - added by plari 6 months ago.
Recording of the different error messages

Download all attachments as: .zip

Change History (1)

@plari
6 months ago

Recording of the different error messages

Note: See TracTickets for help on using tickets.