[wp-trac] [WordPress Trac] #13119: Duplicate slug not possible for separate items

WordPress Trac wp-trac at lists.automattic.com
Fri May 21 06:56:44 UTC 2010


#13119: Duplicate slug not possible for separate items
--------------------------+-------------------------------------------------
 Reporter:  solostream    |        Owner:  dd32  
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.0   
Component:  Permalinks    |      Version:  3.0   
 Severity:  blocker       |   Resolution:  fixed 
 Keywords:  dev-feedback  |  
--------------------------+-------------------------------------------------

Comment(by nacin):

 I could reproduce this but only that the UI behavior is different between
 2.9 and 3.0.

 1. Create a category with the name "Category" and slug "term".

 2a. Create a tag with the name "term" and don't provide a slug. In 3.0,
 you get "term-2" as a slug.

 2b. Create a tag with the name "term" and slug "term." You'll get an error
 in 3.0.

 In both cases in 2.9, a row with the name "Category" and slug "term" gets
 added to the grid, which obviously goes away on refresh as it never
 existed, that's only what we returned via AJAX however.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13119#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list