#4864 closed defect (bug) (fixed)
Convert Category to Tag when Cat. already exists as tag results in warning of duplicate entry
Reported by: | foolswisdom | Owned by: | ryan |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.3 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Convert Category to Tag when Cat. already exists as tag results in warning of duplicate entry
ENV: WP trunk r5976 (2.3beta1+)
Repro:
- Create a post with category and tag of 'same'
- Convert 'same' category to tag
RESULTS
Converting category #4...
WordPress database error: [Duplicate entry '4-post_tag' for key 2] UPDATE wp_term_taxonomy SET taxonomy = 'post_tag' WHERE term_id = '4' AND taxonomy = 'category' Converted successfully.
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [5980]) Don't convert category to tag if tag of the same name already exists. fixes #4864