Files
WordPress/wp-includes
Boone Gorges 650ca95b95 In wp_insert_term(), allow a term with an existing name if a unique $slug has been provided.
`wp_insert_term()` protects against the creation of terms with duplicate names
at the same level of a taxonomy hierarchy. However, it's historically been
possible to override this protection by explicitly providing a value of `$slug`
that is unique at the hierarchy tier. This ability was broken in [31734], and
the current changeset restores the original behavior.

A number of unit tests are added and refactored in support of these changes.

See #17689 for discussion of a fix that was superceded by [31734]. This commit
retains the fix for the underlying bug described in that ticket.

See #31328.
Built from https://develop.svn.wordpress.org/trunk@31792


git-svn-id: http://core.svn.wordpress.org/trunk@31774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 11:16:28 +00:00
..
2015-03-11 19:12:28 +00:00
2014-09-11 19:07:17 +00:00
2015-03-12 22:01:26 +00:00
2015-03-11 02:07:25 +00:00
2014-11-30 23:24:25 +00:00
2015-01-16 16:07:23 +00:00
2015-03-09 21:49:28 +00:00
2014-11-30 22:56:25 +00:00
2013-10-30 14:39:10 +00:00
2015-03-11 20:44:25 +00:00