[wp-trac] [WordPress Trac] #55979: wp_sitecategories does not account for different taxonomy

WordPress Trac noreply at wordpress.org
Wed Jun 22 13:14:02 UTC 2022

#55979: wp_sitecategories does not account for different taxonomy
 Reporter:  axelseaa            |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  trunk
 Severity:  major               |  Resolution:
 Keywords:  reporter-feedback   |     Focuses:  multisite

Comment (by axelseaa):

 Replying to [comment:1 ironprogrammer]:
 > Thanks for the report, @axelseaa!
 > Would you please provide some additional context so that others may
 attempt to reproduce this issue? For instance, the version of WordPress
 being used, any special configuration required (e.g. replicating the
 global terms setting), and if the issue exists after updating WordPress to
 6.0+. Thank you!

 This issue does still persist on our legacy install of 6.0+ when
 "global_terms_enabled" is set to 1.

 Steps to reproduce:

 1) Set "global_terms_enabled" to 1.  (This likely only impacts install
 that have the sitecategories table in the database)
 2) Create a Post Category and then a Post Tag with the exact same
 name/slug.  For example, a category of "asdf" and a tag of "asdf".
 3) Try to edit either the category or tag.  You will receive a permissions
 error due to the incorrect values in the DB.

Ticket URL: <https://core.trac.wordpress.org/ticket/55979#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list