[wp-trac] [WordPress Trac] #15741: Taxonomy: Duplicate term slug error message refers to the name

WordPress Trac noreply at wordpress.org
Sat Aug 24 13:45:21 UTC 2013


#15741: Taxonomy: Duplicate term slug error message refers to the name
------------------------------+--------------------
 Reporter:  Nao               |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.7
Component:  Taxonomy          |     Version:  3.0.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by SergeyBiryukov):

 [attachment:15741.3.diff] seems fine for tags.

 This code for categories also runs when the slug already exists
 ([source:tags/3.6/wp-includes/taxonomy.php#L2086]), so we can change the
 string for categories too: [attachment:15741.4.diff].

 However, it might be confusing if you don't specify a slug for the
 category, and it's auto-generated from the name.

 [attachment:15741.5.diff] introduces a new string for maximum clarity.

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


More information about the wp-trac mailing list