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_ordercolumn that your plugin adds to thewp_termstable. 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.phpregisters the activation hookTO_activated()wheretto_activate()is called, which creates theterm_ordercolumn inwp_terms.Thanks
The topic ‘WordPress Core Database Update Breaks Plugin’ is closed to new replies.