[wp-trac] [WordPress Trac] #39984: wp_insert_term can return wrong ID when multiple existing terms are found with the same name but differnet parent
WordPress Trac
noreply at wordpress.org
Thu Mar 2 17:33:33 UTC 2017
#39984: wp_insert_term can return wrong ID when multiple existing terms are found
with the same name but differnet parent
--------------------------------------------------+--------------------
Reporter: mikejolley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Taxonomy | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs-testing | Focuses:
--------------------------------------------------+--------------------
Comment (by mikejolley):
Yeah that sounds about right. It's hard to explain this one. I think it's
important we allow multiple terms with same names under different parents.
I'm not sure how we'd fix this in our API if it were disallowed :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39984#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list