WordPress 4.2 comes out tomorrow, and one of the important changes for developers relates to how taxonomy terms are handled. As part of a multi-release effort to improve the database schema for taxonomies and their terms, an antiquated feature of WordPress is being undone. In short, terms with the same name are no longer shared across taxonomies, and 4.2 will start splitting shared terms on update. For example, if you have a category called Musings and a tag of the same name, they’ll no longer share a term ID once edited in WordPress 4.2 and later.
For developers who are storing term IDs as part of the code they’ve written, this means our code now needs to account for the changing term IDs. Thankfully, WordPress Core provides an action,
split_shared_term, for doing so.
Of the several plugins I’ve released, only two are impacted by this change. Today I released updates for both, so they now properly handle the changes coming with tomorrow’s WordPress release.
If you’re using either of these plugins, please update to their latest versions before editing your categories, tags, or custom taxonomy terms:
- Taxonomy Dropdown Widget: https://wordpress.org/plugins/tag-dropdown-widget/
- Taxonomy List Widget: https://wordpress.org/plugins/tag-list-widget/