WordPress category not updated errors

Thoughts

When trying to update a category description in WordPress 4.1, I got this cheerful message in green:

Category not updated

In my case, I had a category and tag with the same slug. Changing to a unique slug allowed the form to be submitted successfully, and the category updated.

WordPress stores categories and tags in databases the same way, likely due to the fact tags were an afterthought. WordPress will generally try to prevent such unique ID clashes from occurring, but they must still slip through the cracks.

Interesting though that WordPress doesn’t enforce slug uniqueness at the database level.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.