[wp-trac] [WordPress Trac] #53120: term_order-field not copied to wp_x_terms when switching to multisite
WordPress Trac
noreply at wordpress.org
Fri Apr 30 17:05:57 UTC 2021
#53120: term_order-field not copied to wp_x_terms when switching to multisite
--------------------------+-----------------------------
Reporter: spithost | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.7.1
Severity: normal | Keywords:
Focuses: multisite |
--------------------------+-----------------------------
I changed a site to multi-site yesterday and ran into trouble creating new
product-categories in Woocommerce.
When activated, the debugging for the site, there was mentioning of
missing term_order-column in queries.
When checking the tables of the sites that were "created" as subsites, the
term_order-field was missing indeed.
I then manually added the field to the wp_x_terms-table (copied the field
from the "original" website-tables) and the problem was fixed.
I suspect the routine that switched WordPress from single-site to multi-
site, uses a "table-template" that misses the term-order-field or just had
no edit-routine to add this specific field to the wp_x_terms-table.
The x in wp_x_terms is ofcourse the "number" of the subsite ;-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53120>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list