[wp-hackers] 'same category name'-issue

Ryan Boren ryan at boren.nu
Fri Apr 10 21:01:14 GMT 2009

On Fri, Apr 10, 2009 at 7:47 AM, robin niemeyer <robin.niemeyer at gmx.net> wrote:
> Hi all,
> I know this issue has been posted frequently in the wp support forum,
> the ticket system etc., but it seems there has been some silence around
> it since then, although I think it still is a problem to many people
> (including me).
> What I mean is the issue that every term has to be unique, and while
> this makes a lot of sense regarding tags, it has some serious drawbacks
> when it comes to categories, since this isn't possible right now:
> -Sheet Music
> ---Piano
> ---Violin
> -Learn to Play
> ---Piano
> ---Violin
> (Example taken from http://wordpress.org/support/topic/177232)

Fix for trunk here: http://core.trac.wordpress.org/changeset/10905

This was caused by an over restrictive check added to the ajax handler
for category adds.  When adding cats, the parent should be taken into
account when determining if a cat already exists.

More information about the wp-hackers mailing list