Opened 14 years ago
Closed 14 years ago
#13481 closed defect (bug) (fixed)
wp_insert_term() doesn't return an error, if post_tag already exists
Reported by: | ocean90 | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Taxonomy | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
rboren > I bet its falling through down to 1649, where it returns the term without error. Without inserting.
Because of that, on Post Tags page, the tag will be added more then once.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [14784]) If slug and name match an existing term in the same taxonomy at the same hieararchy level return error. fixes #13481