[wp-trac] [WordPress Trac] #3683: It is possible to create multiple
categories with the same name and same slug
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 26 05:36:14 GMT 2007
#3683: It is possible to create multiple categories with the same name and same
slug
----------------------------+-----------------------------------------------
Reporter: johnbillion | Owner: anonymous
Type: defect | Status: new
Priority: lowest | Milestone:
Component: Administration | Version: 2.1
Severity: trivial | Keywords: categories
----------------------------+-----------------------------------------------
This is a trivial one, I know.
It is possible to create multiple categories with the same name and/or
same slug, and doing so breaks all concerned categories.
To recreate:
1. Go to Manage -> Categories in the admin panel.
2. Create a new category.
3. Create another category with the same name and/or same slug.
4. Place some posts into these categories (so they show up on the blog)
and then attempt to browse one of the categories via the blog. A 404 Not
Found error is returned on all categories concerned.
=================
Desired Behaviour:
Either the user is alerted that they are attempting to create a duplicate
category, or the duplicate category is created with a numerical suffix on
the slug (eg. articles-2) much the same as is done with multiple blog
posts that have the same titles.
IMO the first option would be preferable.
--
Ticket URL: <http://trac.wordpress.org/ticket/3683>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list