[wp-trac] [WordPress Trac] #22023: Remove UNIQUE for slug in wp_terms
WordPress Trac
noreply at wordpress.org
Wed Nov 5 01:08:47 UTC 2014
#22023: Remove UNIQUE for slug in wp_terms
---------------------------------+---------------------------
Reporter: nacin | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: high | Milestone: 4.1
Component: Taxonomy | Version: 2.3
Severity: normal | Resolution: fixed
Keywords: has-patch 4.1-early | Focuses:
---------------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"30239"]:
{{{
#!CommitTicketReference repository="" revision="30239"
Enforce ORDER BY and LIMIT clauses in `term_exists()` queries.
In case of edge cases where a duplicate term might exist in a replicated
database for a split second, these explicit query clauses ensure that
`term_exists()` will always recognize the oldest matched term as the
canonical one. See [30238] for background.
Props pento.
See #22023, #5809.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22023#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list