WordPress Core Database Update Breaks Plugin
-
Hi, after the latest WordPress core update, I noticed that my taxonomy terms weren’t appearing in the backend. After deactivating and reactivating this plugin, the issue was fixed.
I believe the cause of this is the
term_order
column that your plugin adds to thewp_terms
table. After a WordPress database update, it seems that this column is removed from the database and because your plugin only adds this column on plugin activation, a condition arises in which taxonomy terms in the backend are being sorted by a column that doesn’t exist.For reference: line 19 in
taxonomy-terms-order.php
registers the activation hookTO_activated()
wheretto_activate()
is called, which creates theterm_order
column inwp_terms
.Thanks
- The topic ‘WordPress Core Database Update Breaks Plugin’ is closed to new replies.