Ticket #15741: 15741.3.diff
| File 15741.3.diff, 672 bytes (added by , 12 years ago) |
|---|
-
wp-includes/taxonomy.php
2105 2105 $term_id = (int) $wpdb->insert_id; 2106 2106 } elseif ( $exists = term_exists( (int) $term_id, $taxonomy ) ) { 2107 2107 // Same name, same slug. 2108 return new WP_Error('term_exists', __('A term with the name provided already exists.'), $exists['term_id']);2108 return new WP_Error('term_exists', __('A term with the name and slug provided already exists.'), $exists['term_id']); 2109 2109 } 2110 2110 } else { 2111 2111 // This term does not exist at all in the database, Create it.