[wp-trac] [WordPress Trac] #30379: Creating multiple Categories with same name under 1 parent

WordPress Trac noreply at wordpress.org
Sat Nov 29 19:32:57 UTC 2014


#30379: Creating multiple Categories with same name under 1 parent
--------------------------+-----------------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Taxonomy      |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by boonebgorges):

 * milestone:  4.1 => Future Release


Comment:

 >  It's expected behavior, in that it's not possible to make a child cat
 with the same name. Now I would think it should be possible, since it can
 just as easily toss the -2 appellation up in there.

 There's no technical reason why we can't allow terms with the same
 name+parent. But in the interface, it's not ideal: there's no way to tell,
 given a list of category checkboxes, which "C" is `c` and which is
 `c-parent2`. So my instinct is the opposite of ipstenu's: we should be
 preventing the term from being moved here.

 Since this is not a regression in 4.0, and since fixing it either way will
 involve a low-level change to `wp_insert_term()` or `wp_update_term()`
 that is likely to have other consequences, I'd like to suggest that we
 move it out of the 4.1 milestone.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30379#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list