Changes between Initial Version and Version 1 of Ticket #20850, comment 4
- Timestamp:
- 06/08/2012 06:38:16 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20850, comment 4
initial v1 2 2 > Is there a reason duplicate term checking in `wp_insert_term()` uses the slug instead of the name? 3 3 4 Probably because you can't have duplicate slugs, but I'd expect there to also be a check for the name. I'm guessing there are probably back-compat concerns for people who have existing terms of both cases and that's why it's still allowed.4 Probably because you can't have duplicate slugs, but I'd expect there to also be a check for the name. I'm guessing there are probably back-compat concerns for people who have existing terms of multiple casings and that's why it's still allowed.