[wp-trac] [WordPress Trac] #5809: Updating a term in one taxonomy affects the term in every taxonomy

WordPress Trac noreply at wordpress.org
Fri Sep 19 05:19:07 UTC 2014


#5809: Updating a term in one taxonomy affects the term in every taxonomy
----------------------------------------------+----------------------------
 Reporter:  rmccue                            |       Owner:  garyc40
     Type:  defect (bug)                      |      Status:  reopened
 Priority:  high                              |   Milestone:  Future
Component:  Taxonomy                          |  Release
 Severity:  major                             |     Version:  2.3
 Keywords:  has-patch early needs-unit-tests  |  Resolution:
                                              |     Focuses:
----------------------------------------------+----------------------------

Comment (by maxwelton):

 If this is never going to be updated, can we at least prevent the
 situations which lead to this circle-of-terms, by enforcing unique slugs
 throughout WP? I hate unique slugs as a requirement (isn't that what IDs
 are for?), but if it fixes this, unique slugs are way, way preferable to
 this embarrassing bug. WP is an excellent platform and I really enjoy
 working with it, but this is one of those things you cannot explain to a
 client without them pausing for a long time and finally saying
 "''really?''"

 Interesting: if you create the term "best" in tax 1 and then create "best"
 in tax 2, they are married forevermore.

 But if you create "best" in tax 1 and also create "Best" in tax 1, the
 latter will be assigned a slug of best-2.

 If you go to tax 2 and create "best", you get the shared-term-bug misery.
 But if you create "Best" in tax 2, it is not shared (slug: best-3). And if
 you go to tax 3 and create "Best" (slug: best-4) it will not be shared,
 either. But adding "best" to any taxonomy and you'll be sharing that term
 across all taxonomies, no matter what.

 Le sigh.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/5809#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list