[wp-trac] [WordPress Trac] #22023: Remove UNIQUE for slug in wp_terms

WordPress Trac noreply at wordpress.org
Tue Sep 30 14:59:12 UTC 2014


#22023: Remove UNIQUE for slug in wp_terms
---------------------------------+------------------
 Reporter:  nacin                |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  high                 |   Milestone:  4.1
Component:  Taxonomy             |     Version:  2.3
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.1-early  |     Focuses:
---------------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"29798"]:
 {{{
 #!CommitTicketReference repository="" revision="29798"
 Improve unit test coverage for duplicate term creation.

 These include an exhaustive set of tests for term_exists(), as well as
 tests
 for wp_insert_term() that demonstrate failure when attempting to create a
 duplicate term.

 Props simonwheatley for an initial patch.

 See #22023.
 }}}

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


More information about the wp-trac mailing list