Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#42248 new defect (bug)

Can't create category slug with same name for different parents

Reported by: ashokrd2013's profile ashokrd2013 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9
Component: Permalinks Keywords: has-screenshots dev-feedback needs-patch
Focuses: administration Cc:

Description

Issue with same category slug creation even though both have different parent category.

For example I have structure like this wanted to build up.

Cars - Category
Toyota & Maruti - Subcategory of Cars
Parts - Subcategory of Toyota & Maruti

/cars/toyota/parts
/cars/maruti/parts

Wordpress isn't allow it. See attached screenshot.

Attachments (1)

Screenshot_1.png (9.0 KB) - added by ashokrd2013 7 years ago.

Download all attachments as: .zip

Change History (4)

#1 follow-up: @rinkuyadav999
7 years ago

  • Component changed from Taxonomy to Permalinks

#2 in reply to: ↑ 1 @ashokrd2013
7 years ago

Replying to rinkuyadav999:

Issue with taxonomy slug creation even though taxonomy term has different parent term and generating different permalink based on slug. I don't think it's permalink component.

#3 @rinkuyadav999
7 years ago

  • Keywords has-screenshots dev-feedback needs-patch added

Hi @ashokrd2013

Categories are creating perfectly but slug is different and is not according our expectation. Slug is part of Permalinks so i changed component.

Note: See TracTickets for help on using tickets.