Go to file
Boone Gorges 5f1ad2d768 In `wp_update_term()`, limit duplicate slug checks to the same taxonomy as the updated term.
In 4.1 [30240], `wp_insert_term()` was modified to allow the creation of terms
with duplicate slugs, as long as the terms are in different taxonomies.
`wp_update_term()` didn't get the corresponding modification, with the result
that term updates fail when the term being updated shares a slug with an older
term, regardless of that older term's taxonomy.

Props ipm-frommen.
Fixes #30780 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@30985 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-22 15:32:59 +00:00
src In `wp_update_term()`, limit duplicate slug checks to the same taxonomy as the updated term. 2014-12-22 15:32:59 +00:00
tests In `wp_update_term()`, limit duplicate slug checks to the same taxonomy as the updated term. 2014-12-22 15:32:59 +00:00
tools/i18n Fix strict notices in makepot. 2014-08-21 02:53:16 +00:00
.editorconfig .jshintrc is a json file and .editorconfig should treat it like a json file 2014-10-08 19:26:50 +00:00
.gitignore Ignore any local WP Cli config files. 2014-10-28 17:01:22 +00:00
.jshintrc
.travis.yml Add Slack notifications to Travis CI config. fixes #30755. 2014-12-17 23:50:37 +00:00
Gruntfile.js Exclude external-http tests when running `phpunit`. 2014-11-10 14:48:28 +00:00
package.json Update version numbers in trunk. 2014-12-17 17:37:16 +00:00
phpunit.xml.dist Exclude external-http tests when running `phpunit`. 2014-11-10 14:48:28 +00:00
wp-cli.yml Introduce default `wp-cli.yml` for core development. 2014-04-30 21:35:18 +00:00
wp-config-sample.php Remove 'WordPress Language' reference from wp-config-sample.php. 2014-09-09 01:22:05 +00:00
wp-tests-config-sample.php