[wp-trac] [WordPress Trac] #54074: Slug index not set as unique in databse
WordPress Trac
noreply at wordpress.org
Fri Sep 3 18:25:59 UTC 2021
#54074: Slug index not set as unique in databse
--------------------------+------------------------------
Reporter: odjuret | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.8
Severity: critical | Resolution:
Keywords: | Focuses: performance
--------------------------+------------------------------
Comment (by rixeo):
I think its this way as there can be different terms with the same slug.
The unique index is the `term_id` and the `slug`, not just the slug.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54074#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list